1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Forum favicon

Discussion in 'Styling and Customization Questions' started by bsdinsight, May 14, 2014.

  1. bsdinsight

    bsdinsight Active Member

    Hi All

    In PAGE_CONTENER, I added

    <!DOCTYPE html>
    <html id="XenForo" lang="{$visitorLanguage.language_code}" dir="{$visitorLanguage.text_direction}" class="Public {xen:if {$visitor.user_id}, 'LoggedIn', 'LoggedOut'} {xen:if {$sidebar}, 'Sidebar', 'NoSidebar'}" xmlns:fb="http://www.facebook.com/2008/fbml">
    <xen:hook name="page_container_head">
        <meta charset="utf-8" />
        <xen:if is="{$requestPaths.fullBasePath}">
            <base href="{$requestPaths.fullBasePath}" />
            <script><xen:comment>/* Chrome bug and for Google cache */</xen:comment>
                var _b = document.getElementsByTagName('base')[0], _bH = "{xen:jsescape $requestPaths.fullBasePath}";
                if (_b && _b.href != _bH) _b.href = _bH;
        <title><xen:if is="{$title}">{xen:raw $title} | {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
        <noscript><style>.JsOnly { display: none !important; }</style></noscript>
        <link rel="stylesheet" href="css.php?css=xenforo,form,public&amp;style={xen:urlencode $_styleId}&amp;dir={$visitorLanguage.text_direction}&amp;d={$visitorStyle.last_modified_date}" />
        {xen:helper ignoredCss, {$visitor.ignoredUsers}}
        <xen:include template="google_analytics" />
        <xen:include template="page_container_js_head" />
        <link rel="alternate" type="application/rss+xml" title="{xen:phrase rss_feed_for_x, 'title={$xenOptions.boardTitle}'}" href="{xen:link forums/-/index.rss}" />
        <xen:if is="{$pageDescription.content} AND !{$pageDescription.skipmeta} AND !{$head.description}"><meta name="description" content="{xen:string wordTrim, {xen:helper stripHtml, {xen:raw $pageDescription.content}}, 200}" /></xen:if>
        <xen:if is="{$head}"><xen:foreach loop="$head" value="$headElement">{xen:raw $headElement}</xen:foreach></xen:if>
    <LINK REL="SHORTCUT ICON" HREF="http://bsdinsight.com/favicon.ico">

    You can see "
    <LINK REL="SHORTCUT ICON" HREF="http://bsdinsight.com/favicon.ico">

    but it does not works - can you help me to fix it?

    Thanks in advance
  2. Sheldon

    Sheldon Well-Known Member

    Remove what you added.

    Upload the image named favicon.ico to site root...
    drastic likes this.
  3. bsdinsight

    bsdinsight Active Member

    Thanks for your information, but It is already
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It works fine.


    Your browser cache may take some time to update.

    As @Sheldon has said though, there is no need to edit the template.
  5. bsdinsight

    bsdinsight Active Member

  6. Brogan

    Brogan XenForo Moderator Staff Member


    Revert the template, assuming you have no other edits.
  7. bsdinsight

    bsdinsight Active Member

    Thanks all!

Share This Page