webddr.net Posted June 21, 2013 Share Posted June 21, 2013 Hi, I am a new in prestashop. I see in layout.tpl a smarty variable $display_header my question is, how I can overide this value from module or any suggestion if this is not posible from module a sample will very helping, thanks Link to comment Share on other sites More sharing options...
vekia Posted June 21, 2013 Share Posted June 21, 2013 In this case you have to override the FrontController (classes/controller/FrontController.php) there is no other way to achieve what you want. Link to comment Share on other sites More sharing options...
webddr.net Posted June 22, 2013 Author Share Posted June 22, 2013 thanks, you save my time Link to comment Share on other sites More sharing options...
vekia Posted June 22, 2013 Share Posted June 22, 2013 wow, you're welcome im going to mark this thread as [solved] regards Link to comment Share on other sites More sharing options...
abhisek Posted September 15, 2013 Share Posted September 15, 2013 Is it possible to override it WITHIN the theme? I don't want to change anything in directories other than themes/mytheme. Link to comment Share on other sites More sharing options...
vekia Posted September 15, 2013 Share Posted September 15, 2013 from module you can't override, but you can of course change anything you want in theme directory. i mean that you can of coruse edit layout.tpl file 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