View Single Post
  #135  
Old 02-21-2012, 12:10 PM
 
obac01 obac01 is offline
 

Newbie
  
Join Date: Aug 2004
Posts: 4
 

Smile Re: common if/then modifications I make to x-cart...

Quote:
Originally Posted by totaltec
Hi OBO1,
I haven't tried this bu I know that include/security.php assigns the user account flag to smarty:
$smarty->assign('current_membership_flag', $user_account['flag']);
and fulfillment staff's flag is FS I believe.

So maybe:
{if $current_membership_flag ne "FS"}
Show this stuff to regular admins.
{elseif $current_membership_flag eq "FS"}
Show this stuff only to Fulfillment Staff.
{/if}


Thank you Totaltec!! works Great!.
__________________
OB01
x-cart gold 4.4.1 | ferreteriamonterroso.com
Reply With Quote