Problem/Motivation

There is a theme setting (checkbox) labeled "Disable rendering of the more link inside the mega menu", by default this is unchecked. With this unchecked, the horizontal main menu appends a "XXX - More" link to the end of the list for each parent menu item. With this unchecked, if the user sets a parent link to <nolink> the text "XXX - More" is still generated within a span. In this case, the "XXX - More" text should not be displayed.

Steps to reproduce

Fresh install of WxT, use the Intranet theme to get the horizontal main menu, or GCWeb and select the horizontal main menu toggle. Add a parent menu link with <nolink>. View the main menu and see "XXX - More" is appended to the menu structure with no link.

Proposed resolution

To make this more flexible when a client takes over the site, we should add logic to remove the "XXX - More" link from each item if no link is available.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

smulvih2 created an issue. See original summary.

smulvih2’s picture

Status: Active » Needs review
FileSize
1.01 KB

Patch fixes the issue and makes generation of More link dynamic based on user input.

smulvih2’s picture

Component: Code » WxT Bootstrap
sylus’s picture

Status: Needs review » Fixed

Committed and attributed :)

Seems like a good improvement :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.