Quote:
Originally Posted by PhilJ
put an IF statement in the template files like this
eg for menu.tpl
Code:
{if $usertype eq "A" or ($usertype eq "P" and $active_modules.Simple_Mode ne "")}
put your admin style menu code here
{else}
put your customer style menu code here
{/if}
You can use this method throughout the templates that are shared between admin and customer.
From v4, admin and customer have different stylesheets.
|
Yeah, I figured I could do that, but I'm attempting to avoid touching every single file. I also thought about copying out all of the modules and everything that the customer referenced and putting it in the customer directory, but again, that's a lot of work that I'd like to avoid - plus it makes putting on modules a little more difficult.
I'm guessing that there is no easy way to do this past track down all of the files. Is that correct? If I'm going to modify all of the templates that only a customer sees, they're all referenced out of the customer directory, right?
Thanks.
-jkk