Jump to content

new version, how to deal?


ppc

Recommended Posts

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...

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 :D

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated