Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

Introducing ElastiMenu

Introducing ElastiMenu

Something that comes up quite a lot in the forum is people wanting to remove certain menu items when someone logs in, or just dynamically add or remove menu items depending on the code they have created in MetaMod.

e.g. adding a "log out" menu item onto the main menu once someone is logged in, or removing a "log in" menu item from the main menu once someone has logged in.

Up until now it's been impossible to do that directly, and tricky (though possible) to work around. The standard work-around is to create 2 nearly-identical menus, with a module for each, then use MetaMod to switch between the two. Although that works, it's fiddly and a problem to maintain.

Introducing ElastiMenu

ElastiMenu is based on the standard Joomla "Main menu" module, so can be used anywhere where you used to use the standard module.

Now, however, you get a couple of extra form fields, which allow you to specify which menu items should be excluded from display.

So you can set up a main menu that has a whole bunch of extra items in it, then set up several ElastiMenus, each of which excludes certain items (e.g. login/logout items, or items to be shown only at a certain time of day).

Then, you can use MetaMod to switch between the various modules.

Additionally, you can set up ElastiMod to display menu items from more than 1 menu, all in the same menu module. e.g. you could combine the main menu and a secondary menu, or combine them differently on different pages.

Advanced use...

Using MetaMod’s Parameter control, you can dynamically control which items will be excluded/included, within a single ElastiMenu.

Useful? I think so! For more information, download and examples, go to the ElastiMenu page.

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3329 Posts
User info in posts
Administrator has disabled public posting

Re: Introducing ElastiMenu

Great Module!
But I need to put 5 menus together to one (for an alternative horizontal view, beneath the standard vertical menu on the left.)
Is this anyhow possible? Probably with a workaround through meta mod?

Regards,
Pride

Edit: Rechecked, i need 6... and counting. I tried to figure other ways out to solve it, but it seems like my only solution would be using ElastiMenu with more menus connected. Tried already to re-edit the version you provided, adding more parameters in each of the used files in the package, but i guess its not that simple. I lack of understanding all the source code syntax, combining those variables.
Could you please help me out?

If you like, i will provide you with my work. There is only some last source code to fix (which i dont understand).
In my mind there is somewhere a for or while loop, collecting the 3 menus setup in the original version. I would have to raise this loop up to 6 for my update version. Thats whats missing i guess.

edit²: resolved it myself. my version show up to 6 menus now. if anybody is interested in this version, send me email to This e-mail address is being protected from spambots. You need JavaScript enabled to view it
cheers.

Edited By: Pride
02-Jun-10 11:18:25

Pride
Beginner Modder
ranks
useravatar
Offline
2 Posts
Administrator has disabled public posting

Re: Introducing ElastiMenu

Hi Pride - that sounds interesting - if there's anyone else that needs more than 3 menus combined, then can you comment in this thread?

I only put 3 into Elastimenu because I didn't think that anyone would need more than that, but if there's enough demand I'll put more into the official version.

Cheers,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3329 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1685
Total Polls:
6
Total Posts:
5940
Posts this week:
1
User Info:
 
Total Users:
5193
Newest User:
david2398
Members Online:
1
Guests Online:
156

Online: 
Technichem

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked