[Typo3] TMENU question
JoH
info at cybercraft.de
Sat Jul 30 20:58:55 CEST 2005
>>> "wrap is just a simple wrap with no additional
>>> stdWrap properties"
>
> Unfortunately the area I want the page uid entered is in the
> wrapItemAndSub property, and this does not appear to support any
> substitution:
>
> temp.nav = HMENU
> temp.nav {
> 1 = TMENU
> 1 {
> expAll = 1
> NO = 1
> NO {
> allWrap = <ul><li>|</li></ul>
> }
> IFSUB = 1
> IFSUB {
> subst_elementUid = 1
> # the following doesn't get {elementUid} parsed to the
> uid.. its just in the HTML as element{elementUid}
> wrapItemAndSub = <ul id="element{elementUid}"><li>|</
> li></ul>
> }
> }
> 2 < .1
> 3 < .1
> }
>
> Is there any other way I can tag that <ul> in the wrapItemAndSub with
> the page uid?
Try this one:
temp.nav = HMENU
temp.nav {
wrap = <ul>|</ul>
1 = TMENU
1 {
expAll = 1
NO = 1
NO {
allWrap = <li>|</li>
}
IFSUB = 1
IFSUB {
subst_elementUid = 1
allWrap = <ul id="element{elementUid}"><li>|
wrapItemAndSub = |</ li></ul>
}
}
2 < .1
3 < .1
}
Joey
More information about the TYPO3-english
mailing list