hixsonb Posted May 10, 2011 Share Posted May 10, 2011 Hello, Is there a way to turn off (not show) all the items i.e. Order, Submit Ticket and etc. on the client area unless the client is logged in? For instance, if my WHMCS is installed in a directory called "clients", I only want to have the log in prompt (and register prompt) show without the additional items until they log in. Once logged in, the appropriate items can be shown. Can that be done in the admin panel or will I have to edit the clientarea.php and/or other files? Thanks. 0 Quote Link to comment Share on other sites More sharing options...
Roger Posted May 10, 2011 Share Posted May 10, 2011 use {if $loggedin} code only shown to logged in clients {/if} But there is already code to do that in the default and portal templates. Perhaps you can just edit how you like. -Roger 0 Quote Link to comment Share on other sites More sharing options...
hixsonb Posted May 10, 2011 Author Share Posted May 10, 2011 Thank you Roger, that worked. Except that I realize now that I needed to edit the homepage.tpl in the templates folder. From what I am trying to accomplish, I think it may be best if I duplicate the portal template, rename it something else and starting editing to suit my needs. I am assuming that after I upload the new template, it will be available in my selections. Thanks again. 0 Quote Link to comment Share on other sites More sharing options...
Payton Designs Posted May 10, 2011 Share Posted May 10, 2011 From what I am trying to accomplish, I think it may be best if I duplicate the portal template, rename it something else and starting editing to suit my needs. . Exactly, just duplicate the template files and have at it. You can really accomplish a lot of customization of WHMCS with time and effort. Good luck! 0 Quote Link to comment Share on other sites More sharing options...
hixsonb Posted May 10, 2011 Author Share Posted May 10, 2011 Great... thanks for your response. I will most certainly be spending some time really digging into this. 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.