[TYPO3-english] Adding a pID to subnav UL

Tom Warwick tom.warwick at typo3.org
Fri Sep 12 12:03:25 CEST 2014


Hi everyone,

I'm generating a sub nav as a follows:

##  SUB MENU BEGIN
lib.subMenu = HMENU
lib.subMenu.entryLevel = 1
lib.subMenu.required = 1
lib.subMenu.1 = TMENU
lib.subMenu.1.wrap = <ul>|</ul>
lib.subMenu.1.noBlur=1
lib.subMenu.1.NO {
  allWrap = <li class="toplevel">|</li>
  CUR.ATagParams = class="subactive"
  CUR.linkWrap = <li>|</li>
}

Is there a way to insert its parents pID into the UL? i.e.

<ul id="1"></ul>

So all the pages sitting under the pID of 1 would have a subnav that has the UL of 1.

Hope this makes sense, thats as ever for your help.

Tom


More information about the TYPO3-english mailing list