November 25, 20188 yr Hello, Is it possible to change content in smarty, depending on which hook is something hooked. For example: If this is in hook displayLeft change html content else do nothing Thanks
November 26, 20188 yr yes its posible, you can set different template each hook using tpl file. for example see social sharing module inside module you can see views > templates > hook > tpl files
November 26, 20188 yr Author @dosbiner thankls for your answer. So there's no way to do it without changing php files i guess? Problem with that is, if there's update to module i loose all my changes.
November 26, 20188 yr Yep, must edit php files. Try this to override module core files, but I never tried it http://nemops.com/override-prestashop-modules-core/
Create an account or sign in to comment