typo3 show submenu without subpages -


i have website pages, presented in normal menu. every page has subpages , shows them in submenu. except 1 page. page has no subpages , should have content menu navigates different content sections on page. thing content navigation done with:

temp.contentnav = content temp.contentnav {   table = tt_content   select {     pidinlist = 7     orderby = sorting     = colpos=0     languagefield=sys_language_uid    }   renderobj = text   renderobj {     field = header     wrap= <li>|</li>      typolink.parameter.field=pid     typolink.parameter.datawrap=|#{field:uid}     typolink.atagparams = class="linksubpage"     if.istrue.field=header   }    wrap = <ul id="submenu"> | </ul> }  page.10.marks.menu.2a.no.after.cobject < temp.contentnav 

but works if page has @ least 1 subpage. workaround add subpage , hide submenulink, there better solution show custom submenu without adding subpages?

use hmenu item levels generate submenu. behavior not right 1 in typo3 working style. use rights typoscript objects.

and remove "a" "page.10.marks.menu.2a.no". correct use 1,2,3,...


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -