Qvixx Posted November 3, 2013 Share Posted November 3, 2013 I need your help again. I want the last payment-page to be span12 and not span9. The page where you confirm you order (aftter choosing a payment-method). My problem is that I don't know how to 'call' this page in the header.tpl. This is the current code: <div id="center_column" class="center_column span{if $page_name == "index" OR $page_name == "cms" OR $page_name =="order"}12{else}9{/if} clearfix"> I tried $page_name == "payment" and so on and so on but it didn't change anything. I have also thought about editing the width manually in global.css. But is would not be as 'clean' as changing span9 to span12... Thanks! Link to comment Share on other sites More sharing options...
Pabs Posted November 4, 2013 Share Posted November 4, 2013 (edited) Hello, maybe empty the smarty cache and recompile smarty files will help you. prestashop version? try if $page_name == "module-bankwire-payment" OR if $page_name == "module-cheque-payment" OR ...... depending on your payment methods. That would do it (it works in my shop). See you Edited November 4, 2013 by Pabs (see edit history) 1 Link to comment Share on other sites More sharing options...
Qvixx Posted November 4, 2013 Author Share Posted November 4, 2013 Hi, if $page_name == "module-bankwire-payment" OR if $page_name == "module-cheque-payment" OR ...... Works like a charm! Thank you! Just for information: How did you figure them out? I looked for them everywhere but did not find anything. Link to comment Share on other sites More sharing options...
Pabs Posted November 4, 2013 Share Posted November 4, 2013 (edited) Nice, you are welcome. Knowing that the name of the page was in $page_name then I just printed it in the html code like this {$page_name}. Then I took a look in the webpage source and it was there ( module-bankwire-payment ) Have a nice day. (Excuse my english) ps: there is no " if " after "OR". Edited November 4, 2013 by Pabs (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 4, 2013 Share Posted November 4, 2013 i marked this thread as [solved] thank you for sharing solution! with regards, Milos 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