Feature #33315
Optionally display submenu title only if there are subpages
| 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
}
}