web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Web Links in Footer not working

(0) ShareShare
ReportReport
Posted on by

I am implementing a portal for my department and have most of it working however it seems that the Web Links in my Footer are not clickable as links. They are External URLs but I tested with making a link to a Web Page for the portal and that no longer work either.

I can't determine if it is a problem with the Content Snippets, Web Link Sets, or the Web Templates. My gut tells me it is the Web Template for the Footer. I'm going to post that and see if any of you can spot why the names of the Web Links in the Web Link Set appear but are un-clickable.

<footer role="contentinfo">
  <div class="footer-top">
    <div class="container">
      <div class="row">
        <div class="col-md-6 col-sm-12 col-xs-12 text-left">
          {% editable snippets 'About Footer' type: 'html' %}
        </div>
      </div>
    </div>
  </div>

  <div class="footer-bottom hidden-xs hidden-sm">
    <div class="container">
      <div class="row">
        <div class="col-md-4 col-sm-12 col-xs-12 text-left">
          {% editable snippets 'Footer' type: 'html' %}
        </div>
        {% assign footer_nav = weblinks["Footer"] %}
        {% if footer_nav %}
          <div class="col-md-8 col-sm-12 col-xs-12 text-left {% if footer_nav.editable %}xrm-entity xrm-editable-adx_weblinkset{% endif %}" data-weblinks-maxdepth="2">
            <ul class="row list-unstyled">
              {% for link in footer_nav.weblinks %}
                <li class="col-sm-3">
                  <h4>{{ link.name }}</h4>
                  <ul class="list-unstyled">
                    {% if link.display_page_child_links %}
                      {% assign sublinks = sitemap[link.url].children %}
                    {% else %}
                      {% assign sublinks = link.weblinks %}
                    {% endif %}
                    {% if sublinks.size > 0 %}
                      {% for sublink in sublinks %}
                        <li>
                          <a href="{{ sublink.url | escape }}">{{ sublink.name | default:sublink.title }}</a>
                        </li>
                      {% endfor %}
                    {% endif %}
                  </ul>
                </li>
              {% endfor %}
            </ul>
            {% editable footer_nav %}
          </div>
        {% endif %}
    </div>
  </div>
</footer>


*This post is locked for comments

I have the same question (0)
  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at
    RE: Web Links in Footer not working

    Just got the same issue with the OOB configuration of the Dynamics 365 Portals

    From my POV there is an error in the Footer Template record, it is showing the name for the Links, and sets the HTML Hyperlink <a> only for child Links

    I replaced the following:

    <h4>{{ link.name }}</h4>

    for this:

    <h4><a href="{{ link.url | escape }}" {% if link.Open_In_New_Window %} target="_blank" {% endif %}>{{ link.name | default:link.title }}</a></h4>


  • Community Member Profile Picture
    on at
    RE: Web Links in Footer not working

    Craig,

    Thanks for this. I made a new Web Link to act as parent and moved the others underneath it. They were appearing greyed out in the front side editor so I then removed the check from show Child links for my new parent and they magically appear. I can make them appear in the format I want with some forced style. This template is awful and needlessly obtuse. By using the default template I was hoping I could easily add Web Links to a footer but it took three days.

    At least I can now move onto other tasks for this Portal and come back and clean up the formatting latter.

    Craig you rock thanks for coming in for the assist on this one!

  • Verified answer
    Craig P. Fleming Profile Picture
    950 on at
    RE: Web Links in Footer not working

    Bryan, check with the front side editing to see how the links are related. They should look like the image below where there is a parent link (Community) with children (Blogs, Forums, Ideas, Support) underneath. The template is constructed to show links only for the child links not the root.

    2016_2D00_12_2D00_22_5F00_17_2D00_09_2D00_20.jpg

    To be honest the template is kind of crappy requiring this kind of hierarchy as it is entirely unnatural.  If all your links are at the same level the template will only show a list of consisting of the title of link inside an <h4> tag (no <a> tag).

    Here is what the HTML looks like showing how the h4 comes into play at the top level.

    2016_2D00_12_2D00_22_5F00_17_2D00_09_2D00_20.jpg

  • Community Member Profile Picture
    on at
    RE: Web Links in Footer not working

    Fascinating. Hmm wonder where the issue is then. Craig I appreciate all the help you've done on this. I'm trying to get a case opened up with Microsoft. When I find out what the issue is I'm going to post what we discover.

  • Craig P. Fleming Profile Picture
    950 on at
    RE: Web Links in Footer not working

    Identical:

     <div class="footer-bottom hidden-xs hidden-sm">
        <div class="container">
          <div class="row">
            <div class="col-md-4 col-sm-12 col-xs-12 text-left">
              {% editable snippets 'Footer' type: 'html' %}
            </div>
            {% assign footer_nav = weblinks["Footer"] %}
            {% if footer_nav %}
              <div class="col-md-8 col-sm-12 col-xs-12 text-left {% if footer_nav.editable %}xrm-entity xrm-editable-adx_weblinkset{% endif %}" data-weblinks-maxdepth="2">
                <ul class="row list-unstyled">
                  {% for link in footer_nav.weblinks %}
                    <li class="col-sm-3">
                      <h4>{{ link.name }}</h4>
                      <ul class="list-unstyled">
                        {% if link.display_page_child_links %}
                          {% assign sublinks = sitemap[link.url].children %}
                        {% else %}
                          {% assign sublinks = link.weblinks %}
                        {% endif %}
                        {% if sublinks.size > 0 %}
                          {% for sublink in sublinks %}
                            <li>
                              <a href="{{ sublink.url | escape }}">{{ sublink.name | default:sublink.title }}</a>
                            </li>
                          {% endfor %}
                        {% endif %}
                      </ul>
                    </li>
                  {% endfor %}
                </ul>
                {% editable footer_nav %}
              </div>
            {% endif %}
        </div>
      </div>


    As long as your weblinks have pages or urls and the pages are published and no content access permissions are protecting them your links should work fine.

  • Community Member Profile Picture
    on at
    RE: Web Links in Footer not working

    Can you post what the Footer Web Template is out of the box? I can compare and see if maybe something was changed.

  • Craig P. Fleming Profile Picture
    950 on at
    RE: Web Links in Footer not working

    Yes I would expect that to "not" be set, what I meant but like i said was getting confusing. I actually just happened to be setting up a demo site right now and I see the following with the default data in the community portal, does this align with what you see in your partner portal? May also be a permissions issue, perhaps partner portal has content access set for footer links. I don't have a partner portal setup right now to verify but the web template for the footer is the same.

    2016_2D00_12_2D00_22_5F00_16_2D00_28_2D00_08.jpg

  • Community Member Profile Picture
    on at
    RE: Web Links in Footer not working

    I tried setting that checkbox and it made no difference.

  • Community Member Profile Picture
    on at
    RE: Web Links in Footer not working

    I don't have that set because I'm not nesting links underneath the four links I'm using in the Footer. I can try setting that but would seem odd that is what is needed.

  • Craig P. Fleming Profile Picture
    950 on at
    RE: Web Links in Footer not working

    Are you setting the display_page_child_links on the links in your weblinkset. It means that the logic will show links to the children of the page identified in the weblink. It gets a confusing with that setting as it is intended to dynamically add links to a list using the title or name of the weblink as header but not necessarily as a link.  Not sure that description helps or confuses the issue more:).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans