thryciuk Posted November 17, 2008 Share Posted November 17, 2008 Hi, I would like to remove the left hand navigation of home,Announcements,downloads etc, the client login and search on the left hand navigation on my custom pages. Could someone point me in the right direction as to what i put in the header.tpl file. Ex. hompage.php using home.tpl as I made those pages but I do not want the navigation to show on the left on that page. Thanks in advance for your help! Trevor 0 Quote Link to comment Share on other sites More sharing options...
Gears Posted November 17, 2008 Share Posted November 17, 2008 A quick fix would be to go into your template directly and find header.tpl Comment out the links with <!-- and --> 0 Quote Link to comment Share on other sites More sharing options...
thryciuk Posted November 17, 2008 Author Share Posted November 17, 2008 Hi, Would that not remove them from all files? I just want it off specific files. Thank you for your time!! 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted November 17, 2008 Share Posted November 17, 2008 Yes it would remove from all pages. You could possibly use an if command to only load the navigation on certain pages: http://www.smarty.net/manual/en/language.function.if.php 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 18, 2008 Share Posted November 18, 2008 To get rid of the left navigation all together just use the default templates To not display the left nav on a specific page/s put the nav section in an if statement eg.. for the cart pages {if $smarty.server.PHP_SELF != '/cart.php'}YOUR NAVIGATION CODE HERE {/if} Is that what you were after? 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.