Astroid-Framework icon indicating copy to clipboard operation
Astroid-Framework copied to clipboard

upgrade mod_menu with some mega menu features

Open shoulders opened this issue 5 years ago • 4 comments

in reference to #82 is it possible to add mega menu featues to mod_menu. Maybe a cut down version of the feature set.

  • Astroid Menu options (without mega menu)
  • Badge Options

This is a useful feature and I will give some examples

My Logon menu I have added a nice icon in the top right

image

Badge Menu badge in the footer of joomdev

image

shoulders avatar Jul 16 '19 08:07 shoulders

Hi Jon,

Joomla already allows you to add an menu with the menu items so I think the icon part can work our there.

However, I do see that we can create a minimal override for mod_menu where menu items get the badge, icon (if selected), icon only (hides the text).

These would be the 3 things we can offer. What do you think?

chetanmadaan avatar Jul 16 '19 16:07 chetanmadaan

that sounds great.

  • icon and text
  • icon only
  • menus with badge

Most people will not need more than that. Certainly not the full mega menu etc..

shoulders avatar Jul 16 '19 16:07 shoulders

I totally agree, let me see if I can get this done for you :).

chetanmadaan avatar Jul 16 '19 20:07 chetanmadaan

This is done here: https://github.com/joomdev/Astroid-Framework/commit/9fb1eed9cc7ff8729d198782be7b11add00d872d

Minor stuff still pending.

chetanmadaan avatar Jul 17 '19 17:07 chetanmadaan