Jump to content

Create "custom php page" without left column


Recommended Posts

Hello! I need help to achieve one adaptation. I´ve created a standalone webpage called "text.php" with this content:

 

include(dirname(__FILE__).'../../config/config.inc.php');
include(dirname(__FILE__).'../../header.php');
$smarty->display('test.tpl');

 

Is working fine, it shows the contents of "test.tpl" with my theme´s standar layout. Now I need in this test.tpl to NOT show left column. I´ve achieved this in other pages writing inside "header.tpl":

 

{if $page_name=='index' OR $page_name == 'product'}
....
{else}
...

 

But.. How to do this with my "custom created" test.php?? It won´t work using $page_name == 'test'... :mellow:

Edited by FreshCommerce (see edit history)
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...