Additional class

Hey guys.

First off I just want to say thank-you for an excellent extension once again. This offers excellent control of what is usually a very basic nav.

One problem though. The additional class input box does not seem to add the class to the element. Have tried with several differant menu item types but I can see in firebug that the class is never being added. I noticed there was another thread with a similar problem with ja_megamenu from a while back but there was no fix posted in that thread.

If you need login details for the server I will submit a ticket.

Thanks in advance.

3 answers

Profile photo of Sherlock 0.00 $tone January 7, 2013
Public

Hi hilly,

Thank you for your good words regrading this extension !
This actually is a bug and you can try as following to get it fixed, open the file of lib\megamenu\mega.class.php at about the line number 381 you would see this line of code

PHP Code:

 if ($mitem->megaparams->class$cls .= " ".$mitem->megaparams->class




Change it to

PHP Code:

  if ($mitem->megaparam->class$cls .= " ".$mitem->megaparam->class




Let me know if still it does not work

#1
Profile photo of Jason Hill 0.00 $tone January 8, 2013
Public

Thnk-you Sherlock the fix worked well. How frustrating that the issue was cause by one letter ‘s’ haha.

Anyway can I make one suggestion for future versions. It would be nice to be able to add dynamic functionality to some menu items. For example it would be nice to be able to create a grouped column that dynamically displays a list of subcategories in a desired category. Could even just be as simple as an input box in the menu-item admin where a user could enter a category ID.

I know I would like that feature πŸ™‚

Thanks again for the help and for an excellent extension.

#2
Profile photo of Sherlock 0.00 $tone January 9, 2013
Public

Thnk-you Sherlock the fix worked well. How frustrating that the issue was cause by one letter ‘s’ haha.

yeah, just one letter ‘s’

Anyway can I make one suggestion for future versions. It would be nice to be able to add dynamic functionality to some menu items. For example it would be nice to be able to create a grouped column that dynamically displays a list of subcategories in a desired category. Could even just be as simple as an input box in the menu-item admin where a user could enter a category ID.
I know I would like that feature πŸ™‚

Currently the menu items has ability of displaying a Custom block as it’s Submenu Content so for example you have the jm product extension installed you then can show a block of this extension which display products from a specific category with 4 columns (or any other) as Submenu Content, taking a look at the jmmegamenu userguide for more details on how to display a custom module block as submenu content

#3

Please login or Register to Submit Answer

Written By

Comments