You are here: Home / Documentation / How To's / Make Header in Navigation Portlet NOT link to the sitemap

Make Header in Navigation Portlet NOT link to the sitemap

by ledwell published Mar 16, 2009 02:26 PM, last modified Aug 16, 2016 10:50 AM
By default plone has the text header in the navigation portlet link to the sitemap. People have been getting around this by putting a "space" for the title of the navigation portlet effectively hiding the header. But it dosen't need to be that way.

The trick is to tell the navigation portlet header what "to" link to.. so you'll need to have "manager" permissions and be able to navigate to the ZMI.

  1. Log in
  2. Go to your zmi of your website http://www.uwosh.edu/yourCoolURL/manage/
  3. Choose " portal_view_customizations"
  4. Choose "navigation.pt"
  5. Look for the piece of code that looks like this
  • <a href="#"
                           class="tile"
                           tal:condition="view/title"
                           tal:attributes="href string:${root/absolute_url}/sitemap"
                           tal:content="view/title">Navigation</a>
                        <span class="portletTopRight"></span>
  • Remove the "sitemap" text. so it should look like
    • <a href="#"
                             class="tile"
                             tal:condition="view/title"
                             tal:attributes="href string:${root/absolute_url}"
                             tal:content="view/title">Navigation</a>
                          <span class="portletTopRight"></span>
  • Save

  • That should be it. This works really well on micro sites too. There are other things in there you could mod if you wanted to like the default header text of "Navigation".

    Navigation