JamesP Posted November 13, 2018 Share Posted November 13, 2018 Hi I have uploaded my logo in System settings and it shows fine on Invoices ect ect. However On the shopping cart, and the portal homepage/client area homepage it still shows the company name in text. I have tried editing the headerl.tpl to the below {if $assetLogoPath} <a href="{$WEB_ROOT}/index.php" class="logo"><img src="http://logo-link" alt="{$companyname}"></a> {else} <a href="{$WEB_ROOT}/index.php" class="logo"<img src="http://logo-link"></a> {/if} I can 100% say the link is correct and works. I am at a loss, as I have edited the code directly with legitimate HTML that would work anywhere else so I don't know it wont show. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 16, 2018 Share Posted November 16, 2018 On 13/11/2018 at 12:26, JamesP said: I have tried editing the headerl.tpl to the below there's a bug in that code (a missing >) but even with that fixed it makes no sense as the second option is effectively the same as the first, e.g it tries to display the same image. personally, i'd have stuck with the original code, and renamed your logo to logo.png (or.jpg) and uploaded it to the /assets/img/ path - by editing the template like this, you're creating more work for yourself during future WHMCS updates. On 13/11/2018 at 12:26, JamesP said: On the shopping cart, and the portal homepage/client area homepage it still shows the company name in text. which implies that the URL is wrong, or the img format is corrupt in some way. On 13/11/2018 at 12:26, JamesP said: I can 100% say the link is correct and works. you can view the image in the browser without issue ? On 13/11/2018 at 12:26, JamesP said: I am at a loss, as I have edited the code directly with legitimate HTML that would work anywhere else so I don't know it wont show. it's dodgy html, but the fundamental issue is this logo image URL - without knowing what it is, I don't know if it's correct or not. 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.