PWPH Posted June 4, 2013 Share Posted June 4, 2013 Hi all, I have a menu script for creating unique menus, this includes styling, html and script. I will be removing the current default menu and placing this menu in it's place instead. The thing I want to know is how would I get two navigation menus working in the same position. One would need to be called for non-logged in users, the other would be called when a user is logged in. Any help would be great. Something like this? {if $loggedin} <--------------logged in menu code here--------------> {else} <--------------Visitor menu code here--------------> {/if} Would that work? 0 Quote Link to comment Share on other sites More sharing options...
openmind Posted June 4, 2013 Share Posted June 4, 2013 Yes that will work, it's the same principle I use on our portal. 0 Quote Link to comment Share on other sites More sharing options...
PWPH Posted June 4, 2013 Author Share Posted June 4, 2013 (edited) Thanks for you feedback, I find the default navigation bar in WHMCS to be terrible to work with and quite feature less. Shame WHMCS does not have a menu system that can be controlled sort of like the WordPress Menu system, where you can take control of the menu without editing files etc. Edited June 4, 2013 by PWPH 0 Quote Link to comment Share on other sites More sharing options...
openmind Posted June 4, 2013 Share Posted June 4, 2013 I wouldn't have said it's terrible just a bit of a pain. That's why I removed it entirely and went for a right hand side nav: (www) . openmindhosting .co.uk / portal Link deliberately broken 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.