[TYPO3-dam] Folder to Category when indexing
Andy Bernstein
bernstein at barum.de
Fri Nov 24 13:54:32 CET 2006
Hi guys,
im using dam_index 1.0.3 and have the same problem.
there is no file in this directory i need this functionality or i have to
categorize about 500 files.
any other idea 4 workaround?
thx and best reguards
Andy Bernstein
"René Fritz" <r.fritz at colorcube.de> schrieb im Newsbeitrag
news:mailman.47553.1164365485.30218.typo3-project-dam at lists.netfielders.de...
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é
--
COLORCUBE
digital media lab
www.colorcube.de
More information about the TYPO3-project-dam
mailing list