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

XF 1.1 my footer has disappeared

Discussion in 'Troubleshooting and Problems' started by Diana, Sep 7, 2014.

  1. Diana

    Diana Active Member

    I don't know how this happened but my forum footer is either broken in IE or completely gone in Firefox. I looked in Page_Container and don't see anything missing.

    Here are some screenshots:

    This is how it should look on the landing (home) page.
    footer_home_original.png

    This is how the landing page looks now:

    footer_home_IE.png
    This is how the forum page looks. As you see there is no footer, no copyright info, no contact link, and no terms and rules link:

    footer_forum_IE.png

    I did have a problem with adware and restored my computer a few days ago, but I don't see how that would have any bearing on the site. Other than that I haven't changed anything.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Please post the forum URL.

    It's probably a style problem. Does the problem happen on the default style?
     
  3. Diana

    Diana Active Member

    Hi Jake,

    Checked the XenForo default style and you're right, it's a style problem -- the footer appears in both Firefox and IE. I was able to fix part of the problem for the custom style ("Blaze") by deselecting the child "Home" style). It works fine in Firefox, and partly in IE (the forum footer is restored in both) but the problem persists with the footer on the landing page in IE.

    Footer on forum page in IE and Firefox - works:

    footer_forum_firefox.png

    Footer on landing page in Firefox - works:

    footer_home_original.png


    Footer on landing page in IE - not working:

    footer_home_IE.png

    I'll PM you the URL.

    Thank you Jake.
     

    Attached Files:

  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  5. Diana

    Diana Active Member

    What am I checking for in the pagenode_container?

    Code:
    <xen:title>{$page.title}</xen:title>
    
    <xen:navigation>
        <xen:breadcrumb source="$nodeBreadCrumbs" />
    </xen:navigation>
    
    <xen:container var="$head.openGraph">
        <xen:include template="open_graph_meta">
            <xen:set var="$url">{xen:link canonical:pages, $page}</xen:set>
            <xen:set var="$title">{$page.title}</xen:set>
        </xen:include>
    </xen:container>
    
    <xen:container var="$quickNavSelected">node-{$page.node_id}</xen:container>
    
    <xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $page}</xen:container>
    
    <xen:container var="$head.canonical">
        <link rel="canonical" href="{xen:link 'canonical:pages', $page}" /></xen:container>
    
    <xen:if is="{$page.description}">
        <xen:description class="baseHtml">{xen:raw $page.description}</xen:description>
    </xen:if>
    
    <xen:require css="pagenode.css" />
    
    <div id="pageNodeContent">
    
        <xen:if hascontent="true">
            <div id="pageNodeNavigation" class="secondaryContent">
                <div class="blockLinksList">
                <xen:contentcheck>
               
                    <xen:if is="{$listSiblingNodes} && {$siblingNodes}">
                   
                        <xen:if is="{$parentNode}"><h3 class="parentNode"><a href="{$parentNode.href}"><span class="_depth0 depthPad">{$parentNode.value}</span></a></h3></xen:if>
                       
                        <ol class="siblingNodes">
                            <xen:foreach loop="$siblingNodes" value="$node">
                                <li class="{xen:if '{$node.node_id} == {$page.node_id}', 'currentNode', 'siblingNode'}">
                                    <a href="{xen:link {$node.routePrefix}, $node}" class="{xen:if '{$node.node_id} == {$page.node_id}', 'selected'}">
                                        <span class="_depth1 depthPad">{$node.title}</span>
                                    </a>
                                    <xen:if is="{$listChildNodes} && {$childNodes} && {$node.node_id} == {$page.node_id}">
                                        <ol class="childNodes">
                                        <xen:foreach loop="$childNodes" value="$childNode">
                                            <li class="childNode"><a href="{xen:link {$childNode.routePrefix}, $childNode}">
                                                <span class="_depth2 depthPad">{$childNode.title}</span>
                                            </a></li>
                                        </xen:foreach>
                                        </ol>
                                    </xen:if>
                                </li>
                            </xen:foreach>
                        </ol>
                       
                    <xen:elseif is="{$listChildNodes} && {$childNodes}" />
                   
                        <ol class="childNodes">
                            <xen:foreach loop="$childNodes" value="$childNode">
                                <li class="childNode"><a href="{xen:link {$childNode.routePrefix}, $childNode}">
                                    <span class="_depth0 depthPad">{$childNode.title}</span>
                                </a></li>
                            </xen:foreach>
                        </ol>
                       
                    </xen:if>
                   
                </xen:contentcheck>
                </div>
            </div>
        </xen:if>
    
        <xen:hook name="pagenode_container_article">
        <article>{xen:raw $templateHtml}</article>
        </xen:hook>
       
        <div class="bottomContent">
    
            <xen:if is="{$page.log_visits}">
                <div class="pageCounter">
                    <dl class="pairsInline pageStats">
                        <dt>{xen:phrase published}:</dt> <dd>{xen:date $page.publish_date}</dd>
                        <dt>{xen:phrase page_views}:</dt> <dd>{xen:number $page.view_count}</dd>
                    </dl>
                </div>
            </xen:if>
       
            <xen:include template="share_page">
                <xen:set var="$url">{xen:link 'canonical:pages', $page}</xen:set>
            </xen:include>
       
        </div>
       
    </div>
    I'm not using a callback, that I know of.
     

Share This Page