D9Hosting Posted November 27, 2007 Share Posted November 27, 2007 Hi Guys, I've been playing around with the templates for the past few days and wondered if it was possible to add a link, that will only be displayed once a memer is logged into the client area, rather than the link being viewable to the general public? Cheers, Dan 0 Quote Link to comment Share on other sites More sharing options...
bear Posted November 27, 2007 Share Posted November 27, 2007 Yes. Look in the header.tpl for {if $loggedin} to see how it's used. You add that, and the closing tag: {/if}. Whatever is in between will show if they are logged in. If you want to show them something else if they aren't logged in (rather than just showing nothing), add an {else} in there. {if $loggedin}Do stuff {else}do this other stuff {/if} 0 Quote Link to comment Share on other sites More sharing options...
D9Hosting Posted November 27, 2007 Author Share Posted November 27, 2007 Cheers, I'll give it a go. 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.