[Typo3] remove content with ext:template
Thomas Axelsen
thomas at REMpostOVE.dk
Thu Nov 3 13:45:08 CET 2005
New on list - so please be patient :-)
Using templavoila and v3.8.0. I have a two-level menu on most of my
pages in lib.mainMenu and lib.subMenu respectively, defined in main
template. On one of my subpages I want to replace the submenu with a
CATMENU. I've created an extension-template and added:
lib.subMenu >
lib.subMenu < plugin.tt_news
lib.subMenu {
code >
code = CATMENU
pid_list >
pid_list = 43 # the pids of the pages where your news are stored
singlePid = 46
backPid = 24
displayCatMenu {
# select root icon file
catmenuRootIconFile = EXT:tt_news/res/tt_news_cat.gif
# enable root icon
catmenuNoRootIcon = 0
# disable other icons
catmenuIconMode = -1
}
}
Problem is that the page still display the HMENU created in the
main-template even though the Typoscript-object browser shows a tt_news
content element on that particular page. What am I missing
Thanks
Thomas Axelsen
More information about the TYPO3-english
mailing list