In 6.x, menu names and node titles are separate fields. They are probably identical the vast majority of the time, so this makes us manage duplicate data. This is pointless complexity that hurts usability.
The node title is the authoritative record since it's closest to the content it describes. The menu is auxiliary to the node, so it should reflect the node title. The menu name should only be different if the site admin intends it.
The logic that implements this must not be exclusively client side and must not depend on usage of the node edit form. Otherwise API-based changes of the node title will not affect the menu name. (That distinguishes this from #410464: Menu name = node title upon node edit through user interface.)
These are related but not the same:
- #195014: Make Page title the default Menu link title
- #309336: Edit Default Page Titles via Menu Link Title
- #410464: Menu name = node title upon node edit through user interface (That issue's genesis is this same request, but it evolved into solving a portion of the problem.)
Comments
Comment #1
aren cambre commentedA complete solution ought to:
This issue was created as an alternate solution to #410464: Menu name = node title upon node edit through user interface. See comment 50 for more details.
Comment #2
aren cambre commentedThis should be implemented alongside #576916: Default menu "Parent item" should be Navigation, not Primary links and #322703: Use on/off checkbox to enable node's menu item (see #410464: Menu name = node title upon node edit through user interface comment #51).
This change improves the lack of a toggle: right now you turn on a per-node menu item by putting text in Menu link title and turn off by 1. checking Delete this menu item. and 2. clicking submit.
These three issues will convert per-node menus into an intuitive, one-click "it just works" feature.
Comment #3
sunHonestly, I think that the solution over in #322703: Use on/off checkbox to enable node's menu item is sufficient. That makes it work totally intuitive for 99% of all users (i.e. except those without enabled JavaScript).
Comment #4
aren cambre commentedIt creates a different UI interaction for handling a menu item name change when the node's title is changed. There is a big complexity difference between the two interactions.
Comment #5
sunComment #6
aren cambre commentedAnd problem with #322703: Use on/off checkbox to enable node's menu item is it doesn't gracefully degrade if one doesn't have Javascript working.
Comment #7
xjmComment #8
Bojhan commentedThis is already in core.