[Typo3] Problem with second level pages
Marko Rosic
roske at mainstream.co.yu
Fri Aug 26 22:01:59 CEST 2005
I'm having this trouble for a while, no one has been able to help me so I'll
try to post here in hope that someone has a clue to what could be my problem
and how to solve it.
Bad side is that I have a deadline on monday and I don't know what alternative
do I have for this.
I have problem with displaying top menu wich is based on second level items,
and second level navigation in sidebar aswell.
This is a first level page with no top menu...
http://www.deus.co.yu/index.php?id=1
Here is a second level page with top menu...
http://www.deus.co.yu/index.php?id=14
I need this top menu on both pages. Please help... it's urgent and
frustrating as well. I've tried everything I could think of... only thing I
did was optimize the code.
Basic template setup
# Default PAGE object:
page = PAGE
page.typeNum = 0
# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate
...
ext: Sidebar
# Sidebar cObject
temp.sidebar = COA
temp.sidebar {
10 = HMENU
# First level menu-object, textual
10.1 = TMENU
10.1 {
noBlur = 1
wrap = <img id="top" src="fileadmin/templates/main/images/nav_top.gif"
width="202" height="4" /><ul> | </ul><img id="bottom"
src="fileadmin/templates/main/images/nav_bottom.gif" alt="" width="202"
height="4" />
# Normal state properties
NO {
allWrap = <li> | </li>
stdWrap.htmlSpecialChars = 1
ATagTitle.field = description // title
}
CUR = 1
CUR {
allWrap = <li><span> | </span></li>
stdWrap.htmlSpecialChars = 1
doNotLinkIt = 1
}
}
10.2 < 10.1
10.3 < 10.1
10.4 < 10.1
10.5 < 10.1
20 = PHP_SCRIPT
20.file = media/scripts/languageMenu.php
}
ext: Header
temp.header = COA
temp.header {
10 = TEXT
10 {
value = {page:title}
insertData = 1
wrap = <h1> | </h1>
}
20 = HMENU
20.entryLevel = 1
20.1 = TMENU
20.1 {
noBlur = 1
wrap = <ul> | </ul>
NO {
allWrap = <li> | </li>
stdWrap.htmlSpecialChars = 1
}
CUR = 1
CUR < .NO
}
}
Best regards,
Marko
More information about the TYPO3-english
mailing list