Jump to content

How to keep custom files while upgrading?


nimonogi

Recommended Posts

Hello,

 

I'm new to whmcs and i need some assistance... :)

 

I have modify whmcs portal (/templates/portal) templates, language file (English.txt) and add some custom pages.

 

I have installed v4.0.3 and now i see that v4.1 is available as a beta version. If i upgrade to 4.1 all my modifications and addons will be lost (or not?).

Whats the best way to keep my custom files intact while in the mid-time upgrading whmcs from version to version?

 

Thanks in advance.

Link to comment
Share on other sites

If you don't want any changes making to your portal template, you could just not upload it, then if you check the changelog in the Wiki you'll be able to see which templates need upgrading and you'd then be able to go through them one by one.

 

Or you could just rename your /templates/portal folder to something else so WHMCS sees it as a new theme, then upload the new portal template that comes with v4.1 for testing purposes.

Link to comment
Share on other sites

as did we and that is why what we did was we copied the portal template than renmaed it to let say portal_new uploaded that to the ftp in the templates directory and than went to general settings in admin area and selected portal_new as the template since it is a different template name than standard whmcs nothing would be over written on an upgrade than all you have to do is check the changelog fro the update and see if any portal templates were modified and adjust accordingly with your custom template.

Link to comment
Share on other sites

It works best for the templates since WHMCS encrypts most of the PHP files you don't have to worry about those.

 

I am not 100% sure on Winmerge but I know Araxxis lets you do a folder to folder comparison instead of doing 1 file at a time.

 

Another is Beyond Compare its basically a middle point between the two mentioned earlier.

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