.amaZe Posted August 15, 2010 Share Posted August 15, 2010 I made a custom page, but I want to only give access to certain client groups.. How do I do this? Ive tried: {if $gid == '#'} ----content here---- {/if} {if $clientsdetails.groupname eq "client group name goes here"} ----content here---- {/if} {if $clientsdetails.groupid eq "#"} ----content here---- {/if} none work? or what am I doing wrong? 0 Quote Link to comment Share on other sites More sharing options...
.amaZe Posted August 15, 2010 Author Share Posted August 15, 2010 Thanks, I fixed that problem. Now I have this one. I have 2 if statements. {if $loggedin}do this {else} do this {/if} {if $clientsdetails.groupid eq "4"} do this {else} do this {/if} How would I combine them? I want the login box to pop up if the user isn't logged in. Then after you log in, and if you don't have access to the page then you should see something different.. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.