Skip to content

Commit d5c42be

Browse files
committed
Added Jai's and Divyanshi's updates
1 parent c46071b commit d5c42be

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/customizing-the-appearance/proc-customize-rhdh-sidebar-menuitems.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ dynamicPlugins:
2828
* Default icons, such as `home`, `group`, `category`, `extension`, and `school`
2929
* An SVG icon, such as: `icon: <svg width="20px" height="20px" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" fill="#ffffff">...</svg>`
3030
* An HTML image, such as: `icon: https://img.icons8.com/ios-glyphs/20/FFFFFF/shop.png`
31-
<4> `title`: (Optional) Enter the menu item title. Omit it when the title is already specified in the `dynamicRoutes` configuration under `menuItem.text`.
31+
<4> `title`: (Optional) Enter the menu item title. Omit it when the title is already specified in the `dynamicRoutes` configuration under `menuItem.text`. To hide the title from the sidebar, set the title as an (`" "`) empty string.
32+
// Update <6> for release 1.6 as this option (currently a workaround) would be added as a functionality. RHIDP-6333.
3233
<5> `priority`: (Optional) Sets the order in which menu items appear in the sidebar. The default priority is 0, which places the item at the bottom of the list. A higher priority value places the item higher in the sidebar. You can define this field for each section.
3334
<6> `parent`: (Optional) Enter the parent menu item under which the current item is nested. If this field is used, the parent menu item must be defined elsewhere in the `menuItems` configuration of any enabled plugin. You can define this field for each section.
3435

@@ -53,5 +54,6 @@ dynamicPlugins:
5354
<3> `priority`: (Optional) Enter the order of this menu item within its menu level.
5455
<4> `default._<menu_group_parent_item_name>_`: Enter the menu group parent item name to configure static main menu items.
5556
<5> `icon`: Enter the menu group icon. Required for parent menu items.
56-
<6> `title`: Enter the menu group title. Required for parent menu items.
57+
<6> `title`: Enter the menu group title. Required for parent menu items. To hide the title from the sidebar, set the title as an (`" "`) empty string.
58+
// Update <6> for release 1.6 as this option (currently a workaround) would be added as a functionality. RHIDP-6333.
5759
<7> `priority`: (Optional) Enter the order of the parent menu item in the sidebar.

0 commit comments

Comments
 (0)