View Single Post
  #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