[TYPO3-dam] Folder to Category when indexing
Stefan Kreisberg
stefan at nospam-linkfactory.dk
Fri Nov 24 13:21:10 CET 2006
René Fritz wrote:
> Heyho
>
>> Thx for the quick reply René - could you perhaps point me in the
>> direction, code line/file and I'll give it a shot myself right away?
>
> Change the first line in
>
> ext/dam/components/class.tx_dam_index_rules.php
> function processMeta($meta) {
>
> to
>
> $folder = basename(preg_replace('#/$#','',$meta['fields']['file_path']));
>
>
> René
René, you are a hero! Thanx for pointing me there! It, ofcourse works
flawlessly now :-)
You have 3 outstanding jobs asking for help: I'm not particular proficient
in those aspects - but if something like a dev. tasks turns up - don't
hestitate to post such tasks too :-)
--
vh Stefan Kreisberg, a.k.a. Strato
***********************************
They spell it "da Vinci" and pronounce it "da Vinchy". Foreigners
always spell better than they pronounce.
-- Mark Twain
More information about the TYPO3-project-dam
mailing list