FazeWire Posted October 6, 2007 Share Posted October 6, 2007 How do I use smarty ifs to change a div's class in header.tpl? If you need more info please say so 0 Quote Link to comment Share on other sites More sharing options...
Jordan Posted October 6, 2007 Share Posted October 6, 2007 It's easy.... {if $loggedin}<div id="loggedin">{else} <div id="loggedout">{/if} content {if $loggedin}</div>{else} </div>{/if} 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.