inteldigital Posted May 26, 2020 Share Posted May 26, 2020 Hello, I'm not sure if this has been covered before, but I have done a good search and can't find the answer I'm looking for. I've had a quick look in pdfinvoice.tpl but can't see anywhere to change the body colour, just the back ground colour for the table cells themselves. Problem is, my logo is all white because my background colour inside the client area is very dark (brand colours) and WHMCS is very unintuitive and relies on one single logo for emails, logo front-end and admin emails etc. it's like they left out the simplest things. Not sure if @brian! has covered this before, but no doubt. Please advice. Thanks in advance 0 Quote Link to comment Share on other sites More sharing options...
inteldigital Posted May 26, 2020 Author Share Posted May 26, 2020 Never mind, must have been a long day I just realised I can hard code the logo URL to a different one. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 27, 2020 Share Posted May 27, 2020 18 hours ago, inteldigital said: Not sure if @brian! has covered this before, but no doubt. just for completion, the usual solution for a situation like that would be to use a background image rather than specify a colour in the code... though because the image has to be A4/letter, it will increase the size of the PDF... it's been years since i've been asked about this! 19 hours ago, inteldigital said: Problem is, my logo is all white because my background colour inside the client area is very dark (brand colours) and WHMCS is very unintuitive and relies on one single logo for emails, logo front-end and admin emails etc. it's like they left out the simplest things. it's not necessarily true that it needs to use the same logo (actual same file) for all three - e.g the email logo URL can be defined in general settings... it's true that WHMCS would like to use logo.png/jpg as the source for both the website and PDF logos, but you can define what logo it used on the website by defining a path for assetLogoPath in a hook (i've posted that hook previously)... 14 hours ago, inteldigital said: Never mind, must have been a long day I just realised I can hard code the logo URL to a different one. ... and as you have found out, you can define a different path in the PDF too. 1 Quote Link to comment Share on other sites More sharing options...
inteldigital Posted June 8, 2020 Author Share Posted June 8, 2020 Thanks again, @brian! 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.