Jump to content

Logo not showing on Order cart/Client area


JamesP

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated