5 Replies Latest reply on Jun 24, 2014 6:21 AM by NathanielElliott

    Updating the Footer

    NathanielElliott

      All, I've modified the footer in a few ways and am finding a strange issue with the footer. We are getting the word "null" in the footer on our production site but not in our UAT environment (same code in both). Has anyone had this issue with the term "null" showing up in their footer?

      null-issue.png

        • Re: Updating the Footer
          NathanielElliott

          I should mention, here is the code for it as well:

           

          Template - /soy/nav/footer.soy

           

          {template .footer}
              <div id="j-footer-poweredBy">
                  <a class="font-color-meta" href="http://www.jivesoftware.com/poweredby/" target="_blank" title="{i18nText('dectr.jiveVersion.link', $licenseVersion, $revision)}">
                      {i18nText('dectr.copyrightJiveFooter.text', $currentYear)}   | <img src="{resourceUrl('/images/powered_by_Jive.png')}" title="{i18nText('global.access.poweredby')}" alt="{i18nText('global.access.poweredby')}"/>
                  </a>
              </div>
              <div class="j-footer-nav" style="text-align:center;">
                  <a class="font-color-meta" href="{buildUrl('/')}">{i18nText('global.home')}</a>
                  {sp}|{sp}
                  <a class="font-color-meta" href="#top">{i18nText('dectr.page.top.link')}</a>
                  
                  <a style="display:none;" class="font-color-meta" href="{$aboutJiveLink}">{i18nText('footer.about.jive')}</a>
                  {if $trialActive}
                      {sp}|{sp}<a class="font-color-meta" href="{$howToBuyLink}">{i18nText('footer.how.to.buy')}</a>
                      {sp}|{sp}
                      <a class="font-color-meta" href="{$securityAndScalingLink}">
                          {i18nText('footer.security.and.scaling')}
                      </a>
                      {sp}|{sp}<a class="font-color-meta" href="{$supportCommunityLink}">{i18nText('footer.jive.community')}</a>
                  {/if}
                  {if not $user.anonymous and $feedbackEnabled}
                      {sp}|{sp}<a id="j-feedback" class="font-color-meta" href="#">{i18nText('feedback.button.label')}</a>
                      {call jive.skin.template.javascript.feedback}
                          {param user: $user/}
                      {/call}
                  {/if}
                  <a class="font-color-meta" style="display:none;" href="{$documentationLink}">{i18nText('footer.help')}</a>
          {sp}|{sp}
                  <a class="font-color-meta" href="http://www.anotherURL./" title="Home">Home</a> 
                  {sp}|{sp}
                <a class="font-color-meta" href="http://www.anotherURL./" title="Privacy">Privacy</a> 
                {sp}|{sp}
            <a class="font-color-meta" href="https://www.facebook.com/" title="Facebook">Facebook</a> 
            {sp}|{sp}
            <a class="font-color-meta" href="https://twitter.com/" title="Twitter">Twitter</a>
            {sp}|{sp}
            <a class="font-color-meta" href="http://www.anotherURL./" title="Social Media Policy"> Social Media Policy</a> 
            {sp}|{sp}
                <a class="font-color-meta" href="http://www.anotherURL." title="Social Media Directory"> Social Media Directory</a>
                </br>
                  <p><a class="font-color-meta" href="http://anotherURL.gl/" title="Map Location">Long Address for Client</a> </br></p>
              </div>
              <div class="j-footer-jiveVersion">
                  {i18nText('dectr.jiveVersion.link', $licenseVersion, $revision)}
              </div>
              <span id='speakSpan' class='j-508-label' role='marquee' aria-live='assertive' aria-relevant='all'></span>
          {/template}
          
            • Re: Updating the Footer
              NathanielElliott

              Here is where the "null" is showing up in the frontend!

              Screen Shot 2014-04-15 at 12.05.40 PM.png

              • Re: Updating the Footer
                astewart

                Hi Nathaniel,

                 

                I took a look at this in the codebase. The element right above it appears to be a flag for assisted technology (screenreader), and probably has some kind of value associated with it when a screenreader is accessing the page.

                 

                It should not, however, be showing up in the display as you pointed out. My first thought was that the j-508-label was meant to be wrapping the text and making it invisible on the page. But, that doesn't explain why it looks correct in UAT vs production.

                 

                I'd open a case with support on it. Could be indicative of some other issue not related to the footer template at all.

                1 person found this helpful
              • Re: Updating the Footer
                NathanielElliott

                Has anyone seen this issue of "null" before?

                • Re: Updating the Footer
                  NathanielElliott

                  After doing a bit of research / chatting with Jive Support. They pointed out this fix:

                   

                  Jesse Fuller wrote:

                   

                  I have picked up this case and have seen a similar behavior once before when the third-party analytics (admin console >> system >> settings >> third-party analytics) was enabled, but no content was present JS code section. Can you check this to see if it's the case?

                   

                  Thanks Jesse Fuller for your help on this.