[TYPO3-english] TS limited level menu

Tomaž Zaman tomaz at optiss.si
Sun Feb 8 16:56:24 CET 2009


This should do the trick, if I understood you correctly

lib.mymenu = HMENU
lib.mymenu.1 = TMENU
lib.mymenu.1 {
  NO.allWrap = <li> | </li>
  ACT = 1
  ACT.allWrap = <li> | </li>
  ACT.ATagParams = class="act"
}
lib.mymenu.2 = TMENU
lib.mymenu.2 {
  NO.allWrap = <li style="padding-left:5px"> | </li>
  ACT = 1
  ACT.allWrap = <li style="padding-left:5px"> | </li>
  ACT.ATagParams = class="act"
}
lib.mymenu.3 = TMENU
lib.mymenu.3 {
  NO.allWrap = <li style="padding-left:15px"> | </li>
  ACT = 1
  ACT.allWrap = <li style="padding-left:15px"> | </li>
  ACT.ATagParams = class="act"
}

[treeLevel = 2]
lib.mymenu.entryLevel = 1
# remove or modify the next two lines
[treeLevel = 3]
lib.mymenu.entryLevel = 2
[global]


On 2/8/09 4:10 PM, "unfinishedsweet" <p.halczakCUT at ITgmail.com> wrote:

> unfinishedsweet wrote:
>> Tomaž Zaman wrote:
>>> If you use special = driectory, you should also set which directory
>>> subparts.menu_left.special.value = 54 (id of the top menu item)
> 
> as you pointed. Is it any way to resolve the value of '.value'
> dynamically as an ID of the top page in current tree (in my case
> Services subtree for instance)
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

----------------------------------------------------------------------------
Optiss Tomaž Zaman s.p.




More information about the TYPO3-english mailing list