X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How do I remove something from showing in the admin & provider pages? (https://forum.x-cart.com/showthread.php?t=49583)

Doctored Locks 09-07-2009 08:29 PM

Re: How do I get something to show in the home page only?
 
One more... ;)
How do I remove something from showing in the admin & provider pages?

carpeperdiem 09-08-2009 04:29 AM

Re: How do I remove something from showing in the admin & provider pages?
 
moderator note: original post was answered. New question, new thread.

========

Removing from admin or provider can be tricky in 4.1.x -- but the first step is to identify the template involved (use webmaster mode).

IF the template is admin or provider only, then simply comment it out or remove it.
IF the template involved is a global template, you can use this to trap for admin or provider:

actually, the inverse -- IF usertype is a customer, show this, else, don't:

{if $usertype eq "C"}

$usertype eq "A" is admin
$usertype eq "P" is provider

don't forget a closing {/if}

hope this helps.

jeremy


All times are GMT -8. The time now is 02:38 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.