Your Shop Mega Menu and JomSocial

Ecommerce design Joomla template to start your online business with VirtueMart and additional eshop features.
GK User
Mon Dec 06, 2010 1:58 am
Mega Menu drop down boxes don't appear when on JomSocial pages. I receive this error detected by firebug.

$ is not a function
http://www.hubpopulace.com/templates/gk ... nu/mega.js
Line 47
User avatar
Junior Boarder

GK User
Mon Dec 06, 2010 2:28 am
Please provide us data log to your website.
We need to see it running.
User avatar
Platinum Boarder

GK User
Mon Dec 06, 2010 10:19 am
Hi

The template is wounder full, but is it not possible to have real mega menu? It would increase the template look enormous.

I think on a mega menu with icons.

Please, please, please
User avatar
Fresh Boarder

GK User
Mon Dec 06, 2010 2:17 pm
we use jomlarts version of the megamenu, i know what it is you searching but this will be a customisation...
User avatar
Platinum Boarder

GK User
Mon Dec 06, 2010 3:13 pm
Hi

But this will improve the look of this template enormous. You also can use the the mega menu of Gamebox or myStore template.

Please
User avatar
Fresh Boarder

GK User
Mon Dec 06, 2010 10:48 pm
Hi
Just to see what i mean.

Is it not possible to have this menu? T3 demo


06.12.png
User avatar
Fresh Boarder

GK User
Tue Dec 07, 2010 5:04 pm
I believe this is already incorporated into the system. If you want an image associated with a link you would have to select the link, go into parameters (system) and select a menu image. If it is Joomla Art's then here is the user guide.

http://www.joomlart.com/forums/showthre ... userguide..

However, I may be wrong in associating this with what you're asking for. I have not begun to tinker with it to this extent because I'm receiving errors when on JomSocial pages - that comes first.
User avatar
Junior Boarder

teitbite
Tue Dec 07, 2010 11:43 pm
Hi

I believe the megamenu got image functionality. But simply this template do not support it.

What error are You talking about ?
User avatar
Moderator

GK User
Wed Dec 08, 2010 9:32 pm
Ok, so for anyone trying to use JomSocial with Your Shop template will not have the drop down functionality with mega menu. Fortunately there is a solution.

You will need to access the file mega.js
It is located here: /templates/gk_yourshop/js/menu

The first string of code you see after the header will be:

Code: Select all
 var jaMegaMenuMoo = new Class({


You will need to add the following before it:

Code: Select all
function $(el){
   if (!el) return null;
   if (el.htmlElement) return Garbage.collect(el);
   if ([window, document].contains(el)) return el;
   var type = $type(el);
   if (type == 'string'){
      el = document.getElementById(el);
      type = (el) ? 'element' : false;
   }
   if (type != 'element') return null;
   if (el.htmlElement) return Garbage.collect(el);
   if (['object', 'embed'].contains(el.tagName.toLowerCase())) return el;
   $extend(el, Element.prototype);
   el.htmlElement = function(){};
   return Garbage.collect(el);
};


I'm not cleaver enough to come of with this yet; therefore, you will find the original post here:
http://www.joomlart.com/forums/showthre ... +jomsocial

Thanks!
User avatar
Junior Boarder

GK User
Wed Dec 08, 2010 9:53 pm
Without a real mega menu is template only partfull. I hope you understand the issue and will fix this.
User avatar
Fresh Boarder


cron