Closed sprankhub closed 8 years ago
So you could create a more basic template for the category filter and attribute filter (that say just includes the <li>
sections) and add that in your module to the widget templates node.
Then in the admin section do something like this
<div class="list-block megamenu-list-block ">
<ul>
{{category widget}}
{{attribute widget}}
{{category widget}}
{{attribute widget}}
</ul>
</div>
Admittedly you need to wrap it in a little html.
Yeah okay, but you still need to define your own templates etc. Would be nice if there was some out-of-the-box solution :)
Agreed I was just updating my comment to say : "I agree though a "Links Block" would be handy where you can enter multiple links and they can go to any page. Have added as a todo."
The links wouldn't get updated when your category or attribute url does though so mabey a stripped down version of each template out the box is the best way to go that way it stays in sync with your urls.
You could provide them out-of-the-box and explain the functionality in the docs ;) Thanks for the quick answer!
Agreed - thanks for the suggestion :) I think we will do exactly that.
I've now added this to the latest version. Docs here - http://docs.theextensionlab.com/mega-menu/mixed-category-and-attribute-menu-items.html
Thanks for the suggestion.
Note: There is however one issue with it with putting this in the tinymce https://github.com/TheExtensionLab/MegaMenu/issues/16. Sure there is a setting to fix that but not figured out which one just yet.
Awesome, thanks! Great to see that suggestions are processed that fast. Keep up the great work!
Unfortunately, it is currently not possible to mix category and attribute menu items. Imagine a menu structure like this:
Of course I can manually create the HTML and insert it. But there should be a widget where I can mix and match different link types freely.