ppc Posted August 4, 2007 Share Posted August 4, 2007 Its a real pain if you have custom templates to have to rework them every single time a whmcs update is released(and for any software for that matter). How does everyone do it? Is there a way to see EXACTLY what was changed in the new whmcs template file from the old one? That would make life alot easier. Regards... 0 Quote Link to comment Share on other sites More sharing options...
Dominic Posted August 5, 2007 Share Posted August 5, 2007 Is there a way to see EXACTLY what was changed in the new whmcs template file from the old one? That would make life alot easier. Download new version, download your current version, use something like Windiff to highlight the changed files, then use same tool to see what changed and update your template files Windiff is old now, though - I found a great compare tool but it was for Mac and I'm not in the office to check its name. Not sure on any better Windows ools which are free, but Windiff is alright 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted August 5, 2007 Share Posted August 5, 2007 I use winmerge. It works OK. 0 Quote Link to comment Share on other sites More sharing options...
mrprez Posted August 5, 2007 Share Posted August 5, 2007 Dominic, I could use the name of that program for the Mac... John 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted August 5, 2007 Share Posted August 5, 2007 sorry ppc, but this is an issue with all software that you customize and there isnt anything you can do about it except document your changes well. 90% of my templates have been recoded in some fashion and its definitely a headache to update each time. 0 Quote Link to comment Share on other sites More sharing options...
Adamski Posted August 5, 2007 Share Posted August 5, 2007 Dominic, I could use the name of that program for the Mac... John I second that 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted August 5, 2007 Share Posted August 5, 2007 when you install WHMCS upload two copies of the files one to where you are going to run it from (say /www/whmcs) and a 2nd so you can revert file changes if necessary (say /whmcs-3.2.1) that way when you break something with a template change you always have the original to refer to. when installing a new version, first upload an unadulterated copy (sat /whmcs-3.2.2) then you can simply run diff on the 3.2.1 files vs the 3.2.2 files and see what changes WHMCS has made to the templates and then apply those changes to your own simple change control really 0 Quote Link to comment Share on other sites More sharing options...
Subliminal Posted August 5, 2007 Share Posted August 5, 2007 I've only edited my header and footer files with a bit of extra HTML so I guess I would just copy the HTML into the new header/footer files 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted August 5, 2007 WHMCS CEO Share Posted August 5, 2007 And the changed files are always listed in the readme file so you can easily know which ones you need to check & update. Matt 0 Quote Link to comment Share on other sites More sharing options...
ppc Posted August 5, 2007 Author Share Posted August 5, 2007 Thanks for everyone's reply and the suggestions. Yes, Matt, I was aware of the changelog and with the help of winmerge, it will make life a lot easier. Regards, 0 Quote Link to comment Share on other sites More sharing options...
floyd Posted August 5, 2007 Share Posted August 5, 2007 Just put your custom templates in your own templates folder. For example if you are modifying the portal template just make a folder beside it named something like custom_portal. Copy all the files from portal to custom_portal. Modify only the templates in custom_portal. In the admin area choose to use custom_portal instead of portal. Then WHMCS updates will never overwrite your custom templates. You only have to rework them if the new version contains updates that you want to use. And by rework it usually only means updating a few things to integrate the new features that were not there before. It doesn't mean reworking the entire template. 0 Quote Link to comment Share on other sites More sharing options...
Dominic Posted August 8, 2007 Share Posted August 8, 2007 Dominic, I could use the name of that program for the Mac... John Found it - Guiffy! 0 Quote Link to comment Share on other sites More sharing options...
yabado Posted August 9, 2007 Share Posted August 9, 2007 Dominic, I could use the name of that program for the Mac... John It is called FileMerge, comes with Developer Tools 0 Quote Link to comment Share on other sites More sharing options...
mrprez Posted August 9, 2007 Share Posted August 9, 2007 It is called FileMerge, comes with Developer Tools Nice program! I installed from my install disk. Now, if I could only find a decent text editor. Tried: JEDIT TEXTWRANGLER BBEDIT (not paying $125 for a text editor) Any ideas? John 0 Quote Link to comment Share on other sites More sharing options...
willow Posted August 9, 2007 Share Posted August 9, 2007 I always pay Matt to upgrade for me, for $12 its worth knowing everything will be fine 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted August 9, 2007 Share Posted August 9, 2007 I always pay Matt to upgrade for me, for $12 its worth knowing everything will be fine But last time i talked to matt about that, you had to have detailed instructions for what needed to be updated in the templates. If things have changed since then, i would definitely be willing to pay $12 for someone to do the upgrades for me. 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted August 9, 2007 Share Posted August 9, 2007 Yeah me too if it includes undocumented template and images changes 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.