SocialEngine 4: Hide Menu to Non-Users in 4.7 Onwards

Would you like to hide the main menu for non-members? If so, instead of hiding just a few things from non-members through the settings of each plugin, it’s better to just hide all! This way, non-members can only access portal page if set-up correctly. You can use this trick to do so for SocialEngine 4.7 Onwards

Open file /application/modules/Core/widgets/menu-main/index.tpl

and replace whole code with code below

<?php if( $this->viewer()->getIdentity() ): echo $this->navigation() ->menu() ->setContainer($this->navigation) ->setPartial(null) ->render(); ?> <?php endif; ?>

Looking for quality Social Engine Web Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , , , , , , , , , , | Posted under SocialEngine | RSS 2.0

Author Spotlight

Andrew Cross

Hi, I'm Andrew. A am a 26, ICT Administrator which offers support to company's around the South Wales Area. I have created a few social sites for myself and other company's. So far 2 out of 3 have been successful using the powerful SocialEngine Script. I continue to try and help the community of SocialEngine by giving Support and Technical Help where possible.

Leave a Reply

Your email address will not be published. Required fields are marked *