Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
Description
Currently, a site navigation menu can contain entries of different types such as Page, Link and Submenu, each with the fields they need to perform its function. However it's becoming more common to use navigation menus to create rich navigation menus in site (sometimes called "megamenus"). For this use case it's necessary to provide more information within each menu item: description, one or more images, styling information, etc.
The goal of this story is to support this need in a flexible way by leveraging Liferay's custom fields. Once this story is done, a portal administrator (for a virtual instance) will be able to define custom fields for Navigation Menu Items. The fields will be available for all items across all navigation menus and sites.
One common way to leverage the information stored in custom fields will be to create custom Widget Templates (aka ADTs) for the Navigation Widget.
Test Scenarios
Test Scenarios | Test Strategy | Kind of test | Is it covered by FrontEnd ? (JS-Unit) | Is it covered by BackEnd ? (unit or integration) |
---|---|---|---|---|
Custom fields defined in Site Navigation Menu Item is available for existing Page type item in Navigation Menu | Smoke | Manual | NO | YES |
Custom fields defined in Site Navigation Menu Item is available for future Submenu type item in Navigation Menu | Sanity | Manual | NO | YES |
Custom fields defined in Site Navigation Menu Item is available for URL type item in future site's Navigation Menu | Sanity | Manual | NO | YES |
Custom fields defined in Site Navigation Menu Item is available for Submenu type item in Global site's Navigation Menu | Smoke | Manual | NO | YES |
Custom fields defined in Site Navigation Menu Item can be displayed in Navigation Menu portlet | Sanity | Manual | NO | NO |
Attachments
Issue Links
- demands
-
LRDOCS-8577 Document adding custom fields to navigation menu items
-
- Closed
-
- is demanded by
-
LPS-105289 Ability to add custom fields to nav menu items
-
- Reviewed
-