NamWi Posted March 30, 2014 Share Posted March 30, 2014 When a client goes to his client area and check his invoice there is the main logo that it is set up throught WHMCS general settings, how this log could be changed ? I know the file it is template / default / viewinvoice I have upload the image to the directory https://www.xxxxxxxx.com/img/logo.png and i want to use this directory for the logo of the invoice on the file viewinvoice. What i should change on the file <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset={$charset}" /> <title>{$companyname} - {* This code should be uncommented for EU companies using the sequential invoice numbering so that when unpaid it is shown as a proforma invoice {if $status eq "Paid"}*}{$LANG.invoicenumber}{*{else}{$LANG.proformainvoicenumber}{/if}*}{$invoicenum}</title> <link href="templates/{$template}/css/invoice.css" rel="stylesheet"> </head> <body> <div class="wrapper"> {if $error} <div class="creditbox">{$LANG.invoiceserror}</div> {else} <table class="header"><tr><td width="50%" nowrap> {if $logo}<p><img src="{$logo}" title="{$companyname}" /></p>{else}<h1>{$companyname}</h1>{/if} </td></tr> <tr><td width="50%" align="center"> 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 30, 2014 Share Posted March 30, 2014 the {logo} bit of... <img src="{$logo}" title="{$companyname}" /> 0 Quote Link to comment Share on other sites More sharing options...
NamWi Posted March 30, 2014 Author Share Posted March 30, 2014 (edited) the {logo} bit of... <img src="{$logo}" title="{$companyname}" /> I replace {logo} with https://www.xxxxxxxx.com/img/logo.png and worked , put tell me please how to make the logo to be in the center now ??? Edited March 30, 2014 by NamWi 0 Quote Link to comment Share on other sites More sharing options...
mlew2 Posted March 30, 2014 Share Posted March 30, 2014 I replace {logo} with https://www.xxxxxxxx.com/img/logo.png and worked , put tell me please how to make the logo to be in the center now ??? You could try using <center></center> around the line above 0 Quote Link to comment Share on other sites More sharing options...
NamWi Posted March 30, 2014 Author Share Posted March 30, 2014 You could try using <center></center> around the line above Not worked 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 30, 2014 Share Posted March 30, 2014 the center in what sense? it's in the left-hand cell of a 50%/50% table, so mlew2's suggestion will work by centring it in the table cell. 0 Quote Link to comment Share on other sites More sharing options...
arumdev Posted March 31, 2014 Share Posted March 31, 2014 what's it doing in a table cell? 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.