This package implements menu support and menu editing services, including site main menu and popup menus.
The main menu, which is typically added to a skin for most pages, is not automatically generated based on your site's available pages.
When renaming page Urls, the menus are not automatically updated.
While this may seem somewhat inconvenient, the menus implemented by this package are completely under your control and can be freely customized.
Editing A Menu
In order to edit a menu, switch to Site Edit Mode. This makes the module actions and the module action menu available.
The Main Menu Module and the Menu Module offer the Menu Settings action which can be used to edit the menu settings (using the Menu Edit Module).
Main Menu Module
Implements a main page menu, used on a site's pages. This is typically added to a site's skin. There is only one Main Menu Module for one site. If additional menus are needed, use the Menu Module. This module uses the YetaWF_Menus_Menu component.
A test page for the Main Menu Module can be accessed using Tests > Menu ().
This module, implemented by class YetaWF.Modules.Menus.Modules.MainMenuModule, has a published ModuleGuid("59909BB1-75F4-419f-B961-8569BB282131").
Implements a menu. This is can be added to a site's skin or can be added to pages as needed. This module uses the YetaWF_Menus_Menu component.
Menu Edit Module
Implements menu editing. This is used as part of the Main Menu Module and the Menu Module to edit menu settings when in Site Edit Mode.
|Edit(string url, Guid menuGuid)||Edits the menu defined by menuGuid. url defines the designed page used to edit the menu settings, may be null. If a designed page is specified it must contain a Menu Edit Module.|
There are some issues editing a menu:
- When a Url isn't specified for a Regular Entry (Entry Type), it changes to a Parent Entry - need error message instead
- When adding a new entry, using d&d and editing items, duplicate entries may be created inadvertently (improved in 1.0.1, need further testing)
The YetaWF.Menus package is part of YetaWF, an open source product licensed under the GNU General Public License, version 3 (GPL-3.0) - Copyright - Softel vdm, Inc.