![]() |
Editing templates also edits admin pages!
I think perhaps we are editing templates at the wrong level - we have done a good job of putting the site together but I fear we may be using the wrong set.
For example, when editing the Member Login buttons for the site, the admin page member login buttons change! We figured out some using an if/then statement but is this the way to go - is there a chance there we are editing at the root level when we should be somewhere else? |
Re: Editing templates also edits admin pages!
Unfortunately some are shared :( Use this in those types of templates to only show it on the customer side:
{if $usertype eq "C"} customer only code here {else} admin code here {/if} |
Re: Editing templates also edits admin pages!
Oh, OK, well at least we were editing in the right place, we did use that code its very useful
|
All times are GMT -8. The time now is 07:24 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.