Improve menu structure #120

Open
opened 2018-11-26 09:46:22 +00:00 by giplt · 2 comments
giplt commented 2018-11-26 09:46:22 +00:00 (Migrated from github.com)

Change menu from html snippet to structured object referring to page ids, allowing for sub-menus. Possible implementation in hypha.xml:

<menu>
  <menuItem pageId="1"/>
  <menuItem pageId="2">
    <menuItem pageId="2a"/>
    <menuItem pageId="2b"/>
  </menuItem>
  <menuItem pageId="3"/>
</menu>

Possible implementation in settings.php as a list view with buttons to:

  • move items up/down the menu order
  • promote/demote items to sublevels
  • add/remove items
Change menu from html snippet to structured object referring to page ids, allowing for sub-menus. Possible implementation in hypha.xml: ``` <menu> <menuItem pageId="1"/> <menuItem pageId="2"> <menuItem pageId="2a"/> <menuItem pageId="2b"/> </menuItem> <menuItem pageId="3"/> </menu> ``` Possible implementation in settings.php as a list view with buttons to: - move items up/down the menu order - promote/demote items to sublevels - add/remove items
tammoterhark commented 2018-11-26 10:06:40 +00:00 (Migrated from github.com)

Attention for:

  • external links
  • languages

This solution assumes that menu options will be identical for all languages. This does not have to be the case.

Attention for: * external links * languages This solution assumes that menu options will be identical for all languages. This does not have to be the case.
tammoterhark commented 2018-11-26 12:16:27 +00:00 (Migrated from github.com)

Worth thinking about? : versioning for menu structure, so you can revert to previous version of menu?

Worth thinking about? : versioning for menu structure, so you can revert to previous version of menu?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harmen/hypha#120
No description provided.