jean.man Posted October 20, 2010 Share Posted October 20, 2010 I understand that :for header.tpl, it controls the left and the middle column,for footer.tpl, it controls the right column,how about if I want the checkout page to be 2 column layout?and the product category page of 3 columns layout?and the product detail page of 2 column layout?Do i just add if statement at header.tpl and footer.tpl ? Any more comprehensive and integrated way of doing so? Link to comment Share on other sites More sharing options...
rocky Posted October 21, 2010 Share Posted October 21, 2010 You can go to Modules > Positions, edit each module in the left and right columns and add "order.php, product.php" as Exceptions. The only problem is that the columns will still be there, they will just be empty. Adding an if statement in header.tpl or footer.tpl is the best option, since it actually removes the columns. Something like this should do: {if $page_name != 'order' AND $page_name != 'payment' AND $page_name != 'product'} Link to comment Share on other sites More sharing options...
jean.man Posted October 22, 2010 Author Share Posted October 22, 2010 Thanks Rocky. That makes every sense to me. Link to comment Share on other sites More sharing options...
jean.man Posted October 22, 2010 Author Share Posted October 22, 2010 Dear Rocky, I wonder where can I have information on the LIST of the value of $page_name?I check from others thread that there are $page_name = "cms", "category", "order", "product", "payment"Does it have something like "manufacturer" or "new-products"??Would like to know the whole list of such names.Where to get access to them? Link to comment Share on other sites More sharing options...
rocky Posted October 22, 2010 Share Posted October 22, 2010 It's just the filename. Check the name of the PHP file and remove the .php extension. Link to comment Share on other sites More sharing options...
jean.man Posted October 22, 2010 Author Share Posted October 22, 2010 Got it and 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