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 BrandonMetaMod / Chameleon developerIf you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod