[TYPO3-doc] TSref HMENU directory special.value list of IDs and spaces
Andreas Burg
typo3 at andreasburg.de
Fri Oct 31 19:43:46 CET 2008
Hello Georg,
this is my test environment:
TYPO3 4.2.2
Pagetree:
globe
playground [shortcut to p1][domain record]
* p1 [ID 384]
o p1.1
+ p1.1.1
+ p1.1.2
o p1.2
+ p1.2.1
+ p1.2.2
* p2 [ID 383]
o p2.1
+ p2.1.1
+ p2.1.2
o p2.2
+ p2.2.1
+ p2.2.2
Just one TS-Template on "playground" (cleared constants and setup, rootlevel set, static
templates=css_styled_content), domain record on playground, all pages type standard except "playground"
The TS-Template:
config {
doctype = xhtml_trans
xhtmlDoctype = xhtml_trans
xmlprologue = none
doctypeSwitch = 0
htmlTag_dir = ltr
xhtml_cleaning = all
}
page = PAGE
page.typeNum = 0
lib.mainnav = HMENU
lib.mainnav {
wrap = <ul>|</ul>
special = directory
# please try with the space and without
special.value = 384, 383
1 = TMENU
1 {
NO = 1
NO {
allWrap = <li>|</li>
}
}
2 < .1
2 {
wrap = <ul>|</ul>
}
3 < .2
}
page.10 < lib.mainnav
I've tried to reduce this test environment to it's minimum to exclude unwanted effects.
Andreas
More information about the TYPO3-project-documentation
mailing list