Jump to content
ditto

After WHMCS 7.6.2 patch my customisation of PDF is not used

Recommended Posts

After I updated from WHMCS 7.6.1 to 7.6.2 my customised PDF invoice lost all of the custom edits I have in portal/invoicepdf.tpl (yes, I still use the old portal theme).

I see in the release notest https://docs.whmcs.com/Version_7.6.2_Release_Notes that this related library is updated:

"tecnickcom/tcpdf: 6.2.17 to 6.2.26"

However under "Security" this is listed:

"CORE-12853 - Update TCPDF to 6.2.22"

So I don't think it is a good idea to rollback the library update to temporary fix my problem.

Does anyone have any information about how I am suppused write my  edits in portal/invoicepdf.tpl in WHMCS 7.6.2 so that they work the same way as in WHMCS 7.6.1?

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

The problem was not with the new libraries. I solved the problem by deleting the "Six" template, then my custom portal/invoicepdf.tpl works correct again!

So there is a bug in WHMCS 7.6.2, when you are using "portal" theme, it does not use portal/invoicepdf.tpl but instead WHMCS use the .tpl from "six".

Share this post


Link to post
Share on other sites

Never mind. On my development install I actually had previously set "Six" to be active template, and then forgot about it. So there is no bug, I simply made a mistake.

Share this post


Link to post
Share on other sites
19 hours ago, ditto said:

After I updated from WHMCS 7.6.1 to 7.6.2 my customised PDF invoice lost all of the custom edits I have in portal/invoicepdf.tpl (yes, I still use the old portal theme).

i'm surprised any version of portal is still working 100%, though I can see how customised it is, so that may be the reason as it's probably not attempting to work with any of the newer features.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines