Re: common if/then modifications I make to x-cart...
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}
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey
XcartGuru
X-cart Tutorials | X-cart 5 Tutorials
Check out the responsive template for X-cart.
|