Skip to content

Custom Menu Item Names #12

Description

@sprankhub

Sorry for spamming, but I hope you appreciate the ideas to make this menu even more flexible ;)

I know that one can change the "Menu Name" for a category globally under the "MegaMenu Settings" tab. Anyway, in some situations, it is necessary to link the same category under different names in the menu. Hence, it would be good to have the possibility to change the menu name per link. This could be implemented by supporting a custom name in the widgets:

Old:

{{widget type="theextensionlab_megamenu/widget_category_list" category_json="{\"categories\":[{\"id\":\"123\"}]}" display_on="small,medium,large" template="theextensionlab/megamenu/categories/list.phtml"}}

New:

{{widget type="theextensionlab_megamenu/widget_category_list" category_json="{\"categories\":[{\"id\":\"123\",\"name\":\"My Custom Name\"}]}" display_on="small,medium,large" template="theextensionlab/megamenu/categories/list.phtml"}}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions