chouonrow Posted June 24, 2010 Share Posted June 24, 2010 Hi all! i post here due to i think that my problem is not only about themes. if dont go here, please move it.Y have a theme that have original Prestashop theme modified, and some original modules modified. But i read that this is not recommended because you can have problem when update prestashop and i dont know if there is more reasons. Then i would like to create a new theme using all original files on /themes/mythemenamefolder this is easy.My problem is with Modules, i have some original modules modified. My question is; Do i have same problem with this files? is posible to do it in some way to dont have problems if tomorrow i update prestashop??thak you guys Link to comment Share on other sites More sharing options...
rocky Posted June 24, 2010 Share Posted June 24, 2010 Have you modified the module PHP files or just the TPL files? If you've modified only the TPL files, you should put those TPL files inside the theme. For example, if you've modified modules/blockuserinfo/blockuserinfo.tpl, you should put it in themes/yourtheme/modules/blockuserinfo/blockuserinfo.tpl. That way, you don't have to worry about overwriting your modules when you upgrade. You can then just compare your theme TPL to the updated module TPL and copy over any bug fixes. Link to comment Share on other sites More sharing options...
chouonrow Posted June 24, 2010 Author Share Posted June 24, 2010 hi rocky thanks by your fast reply, seems that all works ok now with your help. but some php files were modified, must i use last version ones?regards Link to comment Share on other sites More sharing options...
rocky Posted June 25, 2010 Share Posted June 25, 2010 Yes, you should use the latest module PHP files. If you've made modifications, you'll need to redo those modifications in the new module file. Link to comment Share on other sites More sharing options...
Recommended Posts