Link to home
Start Free TrialLog in
Avatar of Clive Beaton
Clive BeatonFlag for Australia

asked on

Joomla Hidden Menu

How do I hide a menu and link to the article within another article.  I have researched the problem on the web but have found nothing that will work with Joomla 2.5 Mission Control 2.6

I will be forever in your debt for a working solution.
ASKER CERTIFIED SOLUTION
Avatar of Steve Bink
Steve Bink
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I disagree.

My solution is the standard strategy for creating a hidden menu in Joomla.

lenamtl's solution is a valid strategy for creating "stealth" content which appears in the DOM but not rendered to the client.

chilternPC's solution is valid for displaying menus only to authorized users based on Joomla's access control.

All are valid, reasonable solutions, depending on the approach needed.
Avatar of Clive Beaton

ASKER

It was a simple question which you clearly did not understand.  If you have actually implemented a hidden menu, let me know how you did it and I will apologise.

Clive
>>> It was a simple question which you clearly did not understand.

Your question is ambiguous, at best, and you never came back to provide additional context or elaborate on your actual needs.  I asked for further information, and you received potential solutions to cover three or four of the most common needs.  Please refer to http://www.catb.org/~esr/faqs/smart-questions.html#beprecise.

I have implemented hidden menus plenty of times.  In the simplest iteration, you create a menu, add your menu items, then fail to publish it in a rendered module.  Joomla will recognize the menu items' URLs without displaying the menu to the user.
"a rendered module." would have been better described in Joomla terms Menus, Articles, Components, but hey, ho.
>>> "a rendered module." would have been better described in Joomla
>>> terms Menus, Articles, Components

I'm not sure what you mean.  

"Module" is a Joomla concept.  When you create a menu to display to the user, you need to create a module to publish that menu.  If you don't publish a module, then menu is still there, but it will never be displayed to the user because you haven't told Joomla to render it.  You tell Joomla to render it by publishing it.  In a module.

If/When you create a module for the a menu, you can choose to assign that module to any number of pages.  If you do not assign any pages, the menu will not render, even though it is published. If you assign it to some pages, the menu will only render on those pages you have selected.  However, even if you have created a module and assigned it to pages, it will still not render if you mark it as unpublished.  

Regardless of any module's published status, if the menu is present and not disabled, it will still act as a menu, i.e., Joomla will respond to URLs you create.

To recap, from my first post:
To create a hidden menu, you create a menu, and simply don't publish a module which renders.