Cloud Posted September 17, 2008 Share Posted September 17, 2008 I was just wondering,if i make changes to .tpl files and to the module files, will they be over written when an update or new version of prestashop comes out? Link to comment Share on other sites More sharing options...
Paul C Posted September 17, 2008 Share Posted September 17, 2008 Yes they will! I try and acourage folks to find alternatives to modifying files in anything other than their own theme directory (always copy the default theme, and rename it to work on rather than working on the default one, of course). If you makes lots of changes elsewhere, they'll all have to be redone come upgrade time.... you can't even assume that overwriting the upgrade with your changed files will work either; there could be other changes in the new versions that you'll need in your older files.It's always good to keep a note of anything (apart from the theme files) that you've changed!Paul Link to comment Share on other sites More sharing options...
Damien Metzger Posted September 17, 2008 Share Posted September 17, 2008 It may be a little geek, but you can also use your own SVN server and trust it for the merging of the files. Link to comment Share on other sites More sharing options...
bramp Posted September 18, 2008 Share Posted September 18, 2008 if only we could merge it from the official SVN server but Paul C's advice is good. Always create your own theme directory. Link to comment Share on other sites More sharing options...
Paul C Posted September 18, 2008 Share Posted September 18, 2008 I use beyond compare and it works for me, albeit a little convoluted. If you compare your current store code to the corresponding "official release" you'll see all the files you've changed. Save these somewhere. You can then do a compare of the old and new prestashop release code to find out if the files you've modified have changed between releases, if not just copy your modified version over the new version, and if they have compare the releases to see if your additions are affected and merge your changes into the new version.Paul Link to comment Share on other sites More sharing options...
d0m1n1k Posted September 18, 2008 Share Posted September 18, 2008 hi.i use winmerge for searching differences between my changes and official updates.its opensource Link to comment Share on other sites More sharing options...
Damien Metzger Posted September 18, 2008 Share Posted September 18, 2008 If everyone seems to know what to do, do anyone want to add something in the wiki ? Link to comment Share on other sites More sharing options...
Recommended Posts