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.
Comment | File | Size | Author |
---|---|---|---|
#2 | wxt-bootstrap-more-links-3321303-2.patch | 1.01 KB | smulvih2 |
Comments
Comment #2
smulvih2Patch fixes the issue and makes generation of More link dynamic based on user input.
Comment #3
smulvih2Comment #4
sylus CreditAttribution: sylus commentedCommitted and attributed :)
Seems like a good improvement :)