arslantabassum Posted May 20, 2014 Share Posted May 20, 2014 (edited) I want to override blockcart.tpl file.whose address is /themes/default-bootstrap/modules/blockcart/blockcart.tplI want to override this ONe with my custom module..I have this address in my module for override /modules/CustomModule/themes/default-bootstrap/modules/blockcart/blockcart.tplThis Not works....................ONe more thing : I have added this file and pata after installation.. Is installation is compulsory for working of new added tpl file..???????? All Suggestions are appreciated.......................Thanks in advance......................... Edited June 6, 2014 by arslantabassum (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 20, 2014 Share Posted May 20, 2014 it's not possible to override module file from other module. more informations about possible overriding methods you can find here: http://doc.prestashop.com/display/PS15/Overriding+default+behaviors#Overridingdefaultbehaviors-Overridingamodule'sbehavior 1 Link to comment Share on other sites More sharing options...
arslantabassum Posted May 20, 2014 Author Share Posted May 20, 2014 it's not possible to override module file from other module. more informations about possible overriding methods you can find here: http://doc.prestashop.com/display/PS15/Overriding+default+behaviors#Overridingdefaultbehaviors-Overridingamodule'sbehavior Ok , Now i want to override modules tpl file.. what should be the best way... If change it from /themes/default-bootstrap/modules/blockcart/blockcart.tpl My requirements fullfills, But what if i installed on a new prestashop then May i have to change it again and again for any new installation.????? Link to comment Share on other sites More sharing options...
NemoPS Posted June 5, 2014 Share Posted June 5, 2014 Do you mean theme? If so, yes, you'll have to change the tpl again, or you can grab the override one provided that it's compatible with the theme (say, if that uses special identifiers you'll have visual glitches, and so) 1 Link to comment Share on other sites More sharing options...
arslantabassum Posted June 6, 2014 Author Share Posted June 6, 2014 Do you mean theme? If so, yes, you'll have to change the tpl again, or you can grab the override one provided that it's compatible with the theme (say, if that uses special identifiers you'll have visual glitches, and so) Ok Thanks Nemo1!! I'll mind it.... Concept cleared Now...... I have to change theme's files every time , when installing module on a new Prestashop... Link to comment Share on other sites More sharing options...
Recommended Posts