Hi Oliver,
It works perfectly from what I can tell. But the fact that I don't really understand why this one works and why my previous approach just won't, makes me wonder where my misunderstanding of TYPO3 menus is buried.
You're not misunderstanding TYPO3 menus in this case. This is about how tx_dam_pages->get_media_file and tx_dam_tsfe->fetchFileList take their information from. One sticks to the current page id, while the other takes it from the current cObject. Quite frankly the code from dam_pages is not very good. IIRC it has a few features that tx_dam_tsfe->fetchFileList doesn't have, but the latter is far superior and could be enhanced with the features from dam_pages.
Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch _______________________________________________ TYPO3-english mailing list [email protected] http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
