herro Posted October 7, 2010 Share Posted October 7, 2010 I just finished skinning most of my whmcs install and it's coming along nicely. Instead of trying to integrate whmcs in my site, I just decided to skin whmcs and add a few custom pages, since my site is not very content heavy. I wanted the index page to be a custom page, so i just created a new custom page called 'Client Panel' which is an exact copy of the homepage.tpl. Homepage.tpl will be an introductory page which should not have the whmcs 'look' to it (only my skinning done in the header). On these 'custom' pages, I don't want footer.tpl to be included, nor do I want anything in the 'content_container' div to be displayed. So, I am looking for a way I can ignore the automatic inclusion of the whole footer.tpl and specific divs within header.tpl 0 Quote Link to comment Share on other sites More sharing options...
Damo Posted October 7, 2010 Share Posted October 7, 2010 I did something similar using conditional statements based on the filename. i.e. {if ( $smarty.server.PHP_SELF == '/index.php')} HTML {else} HTML {/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.