Jump to content

Custom Page Added But still need help


johnme

Recommended Posts

Hi

I Created custom page using this code


<?php

include(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

  • 3 weeks later...
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...