johnme Posted December 14, 2010 Share Posted December 14, 2010 Hi I Created custom page using this code <?phpinclude(dirname(__FILE__).'/config/config.inc.php');include(dirname(__FILE__).'/header.php');$smarty->display(_PS_THEME_DIR_.'newpage.tpl');include(dirname(__FILE__).'/footer.php');?> [/Code]Sucessfully But i need a Help How to do any one can Help please Link to comment Share on other sites More sharing options...
johnme Posted December 29, 2010 Author Share Posted December 29, 2010 Now i done Every things ... I dont Want to shows right column in my custom page .. how to remove right column only from custom page Link to comment Share on other sites More sharing options...
rocky Posted December 30, 2010 Share Posted December 30, 2010 Edit footer.tpl and add change lines 10-11 from: <!-- Footer --> {$HOOK_FOOTER} to: {if $page_name != 'newpage'} <!-- Footer --> {$HOOK_FOOTER} {/if} Link to comment Share on other sites More sharing options...
Pshopic Posted December 30, 2010 Share Posted December 30, 2010 To not show right column in your custom page, please edit your footer.tpl {if $page_name != 'newpage'} {$HOOK_RIGHT_COLUMN} {/if} Link to comment Share on other sites More sharing options...
rocky Posted December 30, 2010 Share Posted December 30, 2010 Thanks for the correction. I guess I've been answering too many questions. I was thinking right column and I copied the footer code. Link to comment Share on other sites More sharing options...
Pshopic Posted December 30, 2010 Share Posted December 30, 2010 Never mind, I also think you answer many questions.Happy new year. Link to comment Share on other sites More sharing options...
johnme Posted December 30, 2010 Author Share Posted December 30, 2010 this is my Footer.tpl code {if !$content_only} <!-- Right --> {if $page_name != 'download.php'} {$HOOK_RIGHT_COLUMN} {/if} <!-- Footer --> {$HOOK_FOOTER} {/if} </body> </html> bit still right column appear Link to comment Share on other sites More sharing options...
Pshopic Posted December 30, 2010 Share Posted December 30, 2010 Write "download" instead of "download.php" Link to comment Share on other sites More sharing options...
johnme Posted December 30, 2010 Author Share Posted December 30, 2010 To not show right column in your custom page, please edit your footer.tpl{if $page_name != 'newpage'} {$HOOK_RIGHT_COLUMN} {/if} thanks prestashopic i removed .php .. than its work great but my footer alighment changed Thanks a lot for help rocky you too thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now