Project

General

Profile

Actions

Feature #64428

closed

group pages – show subpages of SPC in menu

Added by Benjamin Robinson about 9 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2015-01-22
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

It should be possible to show subpages of SPC-pages in menus. For example ...

lib.mymenu = HMENU
lib.mymenu{
    entryLevel = 0
    1 = TMENU
    1 {
        wrap = <ul>|</ul>
        expAll = 1
        NO {
            wrapItemAndSub = <li>|</li>
        }
        SPC<.NO
        SPC = 1
    }
    2<.1
}

... does not show the subpages of the spacers.

Maybe we need a new TMENU-property "expSpc = 1" or a new mode for expAll like "expAll = 2", because a lot of old installations may rely on the current state.

Sometimes it is really necessary to group pages without having content on their parent page, and only show the title of this parent page as a group-label (without being linked) in a menu.

Grouping in this way is only possible with spacers or sys-folder, but sys-folders are never shown in menus.
(Shortcut-pages are not an option, because they inevitably are linked.)

If spacers should in general only be used to separate and not to group pages, we should discuss:
  1. Do spacers even need a title?
  2. When to use spacers, when to use sys-folders, should it be possible to show sys-folders in menus or do we need a new pagetype (f.e. GRP - group)?
Actions

Also available in: Atom PDF