View Single Post
(#2)
bgordon bgordon is offline
Member
bgordon is on a distinguished road
 
Posts: 59
Join Date: Aug 2006
Location: Georgian Bay, Ontario Canada
Default Seller store mod question - 09-04-2006, 07:48 PM

I have followed (so I think) the directions for making the store link only appear and active if the logged in user is an admin or reg'd user (in the readme file) and when I put the statement in, the store link is gone from the screen no matter who I log in as...

<tr><td>
{if $smarty.session.level==1 || $smarty.session.level==2 || $smarty.session.level==3}<a href="modules.php?mod=seller_store" class="whitelink">My Store</a>{/if}</span></td></tr>

I assume that this checks for the three user levels and allows the link to appear if they are true... In the event that none are true, the link is not displayed.

Any ideas why this simple little thing might not work for me? I would like to adapt it to other areas where data only appears if the user is logged in...

Thanks

Last edited by bgordon : 09-04-2006 at 07:53 PM.