CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #33315

Optionally display submenu title only if there are subpages

Added by Christian Hennecke over 1 year ago.

Status:New Start date:2012-01-19
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:- Spent time: -
Target version:-
Votes: 0

Description

While the submenu only shows menu items if there actually are subpages of the current page, the title is always displayed (unless switched off completely). It would be nice to have an option to turn it off if no subpages are available since the title alone is somewhat confusing for the user.

Could be done this way:

lib.modul.submenu.20 {
  if.isTrue.numRows {
    table = pages
    where = pid=this
  }
}

Also available in: Atom PDF