[TYPO3-content-rendering] Re: template not showing up
Dominik Lenné
dlenne at web.de
Tue Apr 15 01:56:10 CEST 2014
I had completely misunderstood, how a website has to be built in typo3, that
- there has to be a root page, which is only a link, but which carries the main template
- and the lower pages are children of this root page.
I write this here in case somebody else is as disoriented as i was.
So with the correct configuration, at least the first level of the menu is shown correctly.
Now the problem is the second level.
This is the Typoscript:
lib.textmenu = HMENU
lib.textmenu {
1 = TMENU
1 {
expAll = 1
wrap = <ul id="topmenu">|</ul>
NO.wrapItemAndSub = <li>|</li>
}
2 = .1
2.wrap = <ul>|</ul>
}
So again any constructive hints are welcome...
page = PAGE
page.10 = TEMPLATE
page.10.template = FILE
page.10.template.file = fileadmin/htmltemplate/trancedance.tpl
page.10.subparts {
CONTENT < styles.content.get
TOPMENU < lib.textmenu
}
page.10.workOnSubpart = DOCUMENT
page.shortcutIcon = fileadmin/htmltemplate/Bilder/favicon.ico
page.stylesheet = fileadmin/htmltemplate/css/trancedance.css
More information about the TYPO3-project-content-rendering
mailing list