Make Header in Navigation Portlet NOT link to the sitemap
by
Brian Ledwell
—
last modified
Mar 20, 2009 12:33 PM
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.
- Log in
- Go to your zmi of your website http://www.uwosh.edu/yourCoolURL/manage/
- Choose " portal_view_customizations"
- Choose "navigation.pt"
- 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".











