T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Sebastian
  2. General Discussion
  3. Wednesday, 29 January 2014
  4.  Subscribe via email
Hi everyone,

is it possible to change the layout of the megamenu? I want to design a megamenu to show the images of the linked categories for every submenu-item. Here is an example:

Title

Look at the menu "tools" or in german "Werkzeuge".

I have tried to develop a module, it works fine, but everytime I change or save my menu again, the default layout is inserted.

See this:

Image-Link: Title

The red one is my module and the other one are the submenu-items I don't want to show, because a have every subitem in my module.


Best regards,
Sebi
Attachments (1)
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Sebastian,

It is possible to overwrite the markup of Megamenu if you are using T3 v2.0.2 and above.
You just need to overwrite the T3MenuMegamenuTpl class
Just copy the content of plugin\system\t3\includes\menu\megamenu.tpl.php
and change the markup.

Then you need to load this file before T3 load (using T3 Hook http://t3-framework.org/documentation/bs3-faqs#template-hook)

Regards
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.