FreshCommerce Posted May 3, 2012 Share Posted May 3, 2012 (edited) 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'... Edited May 4, 2012 by FreshCommerce (see edit history) Link to comment Share on other sites More sharing options...
FreshCommerce Posted May 4, 2012 Author Share Posted May 4, 2012 I´ve changed the post title. Maybe now it´s more accurate. 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