[TYPO3-english] How do you generate a menu where every menu item has its own image, using DAM?
François Suter
fsu-lists at cobweb.ch
Thu Jul 12 10:29:10 CEST 2012
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
More information about the TYPO3-english
mailing list