Jump to content

Where Do I Place WHMCS favicon.ico ?


krt463

Recommended Posts

Thank you. Since there was limited information within the forums, I thought I would also post the reply from WHMCS Support:

 

"According to the W3C, the preferred way of adding a favicon to your site is to declare it in the HEAD section of your HTML ( http://www.w3.org/2005/10/howto-favicon ). To do this, you'll want to edit the header.tpl file of the template you're using. We have a guide to editing our templates at http://docs.whmcs.com/Client_Area_Template_Files . The template itself is written in Smarty, which has fantastic documentation available at http://www.smarty.net/docsv2/en/ ."

Link to comment
Share on other sites

A good way for WHMCS templates is by adding your favicon.ico file to:

 

/templates/your_template/images/ and then declare it with:

 

<link rel="shortcut icon" type="image/x-icon" href="templates/{$template}/images/favicon.ico" />

 

You could also add the file your root which is good practice as some tools/browsers will look for it there even if it's not declared. So you would upload it to public_html and use:

 

<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />

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