View Single Post
  #1  
Old 03-01-2005, 09:50 PM
 
Wizard Wizard is offline
 

Advanced Member
  
Join Date: Jun 2004
Posts: 40
 

Default $user_membership

I am trying to make a modification where it shows one menu on default BUT if you have "Wholesale" access then it would show a different menu... I thought it was as easy as the following code BUT for some reason it is not working

Code:
{if $user_membership eq "Wholesale"} <TABLE border="0" cellpadding="0" cellspacing="0" width=100%> <TR> <TD align=center> Wholesalel 1 | Wholesale 2<a/> | <a href="/home.php?cat=8">Wholesale 3 | Wholesale 4 | Wholesale 5 </TD> </TR> </TABLE> {else} <TABLE border="0" cellpadding="0" cellspacing="0" width=100%> <TR> <TD align=center> Retail 1 | Retail 2<a/> | <a href="/home.php?cat=3">Retail 3 | Retail 4 | Retail 5 </TD> </TR> </TABLE> {/if}

I created a membership level of Wholesale and then created a user and assigned them to the Wholesale level... but when I log onto the site I still see the retail menu??? Can someone point me in the right direction?

Thanks

Mike
__________________
Mike

X-Cart 4.0.9 Gold (In Development)
No Live Site

Server version: Apache/1.3.28 (Unix) FrontPage/5.0.2.2510 mod_ssl/2.8.15 OpenSSL/0.9.7a PHP-CGI/0.1b
Reply With Quote