Hide Menu Item from Registered and Special

Hide Menu Item from Registered and Special

Refer to this link if you want to clean out a front-end admin interface with your website's style.  The following is from http://forum.joomla.org/viewtopic.php?f=32&t=252258&start=0 at this date/time.

Can't simply hide an item but can hide a menu (of course the menu could have been created with just one item with no title and positioned at the bottom of another menu; this would look like it was all part of one menu).

toubkal wrote:
This cannot be done by joomla administration but can be done by template code, you can have a module position in the template that is set to only show when the visitor is not logged in e.g. Code:

copyraw
<?php if ( !$my->id ) {?> 
     <div id="topmod"><?php mosLoadModules ( 'top', -2 ); ?> </div>
<?php } ?>
  1.  <?php if ( !$my->id ) {?>  
  2.       <div id="topmod"><?php mosLoadModules ( 'top', -2 ); ?> </div> 
  3.  <?php } ?> 

 

Joomla extension disable menu link for registered users but not for public 

More Information: not so great, lot of text: 
http://help.joomla.org/content/view/476/146/

Category: Joomla :: Article: 167

Add comment

Your rating:

Submit

Credit where Credit is Due:


Feel free to copy, redistribute and share this information. All that we ask is that you attribute credit and possibly even a link back to this website as it really helps in our search engine rankings.

Disclaimer: Please note that the information provided on this website is intended for informational purposes only and does not represent a warranty. The opinions expressed are those of the author only. We recommend testing any solutions in a development environment before implementing them in production. The articles are based on our good faith efforts and were current at the time of writing, reflecting our practical experience in a commercial setting.

Thank you for visiting and, as always, we hope this website was of some use to you!

Kind Regards,

Joel Lipman
www.joellipman.com

Please publish modules in offcanvas position.