Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How do I remove something from showing in the admin & provider pages?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-07-2009, 08:29 PM
 
Doctored Locks Doctored Locks is offline
 

Advanced Member
  
Join Date: Dec 2008
Posts: 42
 

Default 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?
__________________
Version 4.1.11 Pro
Add-on: X-Affiliate
Add-on: X-RMA
Add-on: X-FancyCategories
Reply With Quote
  #2  
Old 09-08-2009, 04:29 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default 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
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:24 PM.

   

 
X-Cart forums © 2001-2020