[TYPO3-english] Extend menu only for subitems on a specific ID
Morten Hagh
morten at hagh.dk
Fri Feb 17 08:45:33 CET 2012
Hi list,
is it possible somehow to extends the menu only for a specific ID in the
page tree.
I have a menu that extends 3 levels, but for a page on level 3 (ID: 166) I
want the menu to be extended with that page's subitems so it will extend
to level 4.
My level 3 TS is:
####
lib.TOPMENU.3 < lib.TOPMENU.2
lib.TOPMENU.3 {
wrap = <ul class="inner">|</ul>
NO.wrapItemAndSub = <li>|</li>|*|<li>|</li>|*|<li class="lastItem">|</li>
ATagParams.dataWrap = title="{field:title}"
IFSUB = 0
SPC = 1
SPC {
allWrap = <li><span class="spc-item-level3">|</span></li>
}
}
####
I tried
[PIDinRootline = 166]
lib.TOPMENU.4 < lib.TOPMENU.3
lib.TOPMENU.4 {
wrap = <ul class="inner">|</ul>
NO.wrapItemAndSub = <li>|</li>|*|<li>|</li>|*|<li class="lastItem">|</li>
ATagParams.dataWrap = title="{field:title}"
IFSUB = 0
SPC = 1
SPC {
allWrap = <li><span class="spc-item-level4">|</span></li>
}
}
[end]
But that doesn't work.
/Morten Hagh
More information about the TYPO3-english
mailing list