![]() |
If statement to determine admin page vs. customer page
I made some edits to my menu.tpl file, but it messes up the boxes in the admin section. how do I write an if statement to detect if you are on the customer pages or the admin pages?
Thanks. |
Re: If statement to determine admin page vs. customer page
Code:
{if $usertype eq "A" || ($usertype eq "P" && $active_modules.Simple_Mode ne "")} |
Re: If statement to determine admin page vs. customer page
perfect, thank you.
|
All times are GMT -8. The time now is 07:42 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.