kudnet Posted June 12, 2017 Share Posted June 12, 2017 I'm having an issue with my logo overlapping the first sections on both the quote and invoice. My site's template should be using the same logo found in my "General Settings": .../templates/zionhost-alt-v7/img/logo.png (referenced in code from quotepdf.tpl below). I have also read through the forums and WHMCS Documentation that I can edit "invoicepdf.tpl" and I assume "quotepdf.tpl" manages the PDFs generated by the "View PDF" in the Quote builder. I should also note that the zionhost template in use does not house any invoice or quote related template. # Logo if (file_exists(ROOTDIR.'/templates/zionhost-alt-v7/img/logo.png')) $pdf->Image(ROOTDIR.'/templates/zionhost-alt-v7/img/logo.png', 20, 25, 75); elseif (file_exists(ROOTDIR.'/assets/img/logo.jpg')) $pdf->Image(ROOTDIR.'/assets/img/logo.jpg', 20, 25, 75); else $pdf->Image(ROOTDIR.'/assets/img/placeholder.png', 20, 25, 75); I have made several attempts to edit quotepdf.tpl, especially the scale value "75", yet when I refresh the page and "View PDF", no changes seem to be made. I've attached a sample quote to better illustrate the overlap, it is very similar in the Invoice PDF as well. I get an eire feeling I'm not in the right file. Can anyone point me in the right direction? A_Quote-4.pdf 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 12, 2017 Share Posted June 12, 2017 if it were me, i'd either crop that logo image to remove the empty padding around the logo itself, or alter the x,y coordinates in the template of where the logo begins. 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.