broschats Posted December 15, 2009 Share Posted December 15, 2009 What is the trick to display a page with a different header or footer for example, I would like to have the ticket process when displayed in a block on my site be displayed without any sidebar or registration options etc... However I may want the original style to be intact when accessed from a link or some other area of the site. I think I remember someone showing an easy way to do this kinda thing. I can edit the css style for the template but that affects everything..... Help Thanks 0 Quote Link to comment Share on other sites More sharing options...
D9Hosting Posted December 16, 2009 Share Posted December 16, 2009 If you place {debug} in your header, then visit a page you'll get a pop-up of a list of variables that you can use. You should then be able to find something you can use, maybe the page URL, script name etc. So you could have: {if $variable eq "name of tickets page"}No sidebar{else}sidebar{/if} 0 Quote Link to comment Share on other sites More sharing options...
broschats Posted December 16, 2009 Author Share Posted December 16, 2009 Very Interesting, I will try it. 0 Quote Link to comment Share on other sites More sharing options...
broschats Posted December 17, 2009 Author Share Posted December 17, 2009 Um not working when placed in the header or footer .tpl file. I am able to see debug data but the data when used in these files in the syntax provided No Workie. What am I doing wrong? here is what I am inserting. {debug} {if $pagetitle eq "Advertising"}No quicknav{else}quicknav{/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.