Boa Tarde!!!

Para retirar os icones da barra de navegação, vc deve customizar dois
arquivos: 
- portlet_navigation;
- portlet_navtree_macro;

Da seguinte forma:

- portlet_navigation:

<html xmlns:tal="http://xml.zope.org/namespaces/tal";
      xmlns:metal="http://xml.zope.org/namespaces/metal";
      i18n:domain="plone">
<body>
<div metal:define-macro="portlet"
       i18n:domain="plone"
       tal:omit-tag=""
       tal:define="view context/@@navigation_view;
                   root view/navigationRoot;">

<dl class="portlet" id="portlet-navigation-tree" 
    tal:condition="view/display">
    <dt class="portletHeader">
        <span class="portletTopLeft"></span>
        <a href="#" 
           class="tile"
           tal:condition="not:view/title"
           tal:attributes="href string:${root/absolute_url}/sitemap" 
           i18n:translate="box_navigation">Navigation</a>
       <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>
    </dt>

    <dd class="portletItem lastItem">
        <ul class="portletNavigationTree navTreeLevel0">

            <li class="navTreeItem"
                tal:condition="view/includeTop">
                <tal:block define="typeClass string:visualIcon
contenttype-${view/rootTypeName};
                                   selectedClass
python:test(path('view/isPortalOrDefaultChild'), 'navTreeCurrentItem',
'');
                                  ">
                   <!-- Altere essa div para -->
                   <!--<div class="visualIcon contenttype-plone-site"
tal:attributes="class typeClass">-->
                   <!-- A div abaixo -->
                   <div>
                       <a class="visualIconPadding"
                          tal:attributes="href root/absolute_url;
                                          title portal/Description;
                                          class string:$selectedClass
visualIconPadding;">
                       <span tal:omit-tag=""
                             tal:condition="python:root == portal"
                             i18n:translate="tabs_home">Home</span>
                       <span tal:condition="python:root != portal"
                             tal:replace="root/Title">Home</span>
                       </a>
                   </div>
                </tal:block>
            </li>
            <li tal:replace="structure view/createNavTree">
                SUBTREE
            </li>
        </ul>
        <span class="portletBottomLeft"></span>
        <span class="portletBottomRight"></span>
    </dd>
</dl>

</div>
</body>
</html>

- portlet_navtree_macro:

<tal:master define="level options/level|python:0;
                    children options/children | nothing;
                    bottomLevel options/bottomLevel | nothing;
                    normalizeString
nocall:context/plone_utils/normalizeString;
                    viewActions
here/portal_properties/site_properties/typesUseViewActionInListings|python:();
                    member
context/portal_membership/getAuthenticatedMember|nothing;
                    member_id member/getId|nothing">

<metal:main define-macro="nav_main">
<tal:navitem repeat="node children">
<li class="navTreeItem visualNoMarker"
    tal:define="children   node/children;
                item       node/item;
                useView    python:item.portal_type in viewActions;
                itemUrl    python:test(useView, item.getURL() +
'/view', item.getURL());
                linkRemote python:item.getRemoteUrl and item.Creator
!= member_id;
                isCurrent  node/currentItem;"
    tal:condition="python: bottomLevel &lt;= 0 or level &lt;
bottomLevel-1">

        <!-- Altere esse tal para -->
<!--    <tal:level define="item_type_class     python: 'visualIcon
contenttype-' + normalizeString(item.portal_type);
                       item_wf_state_class python: 'state-' +
normalizeString(item.review_state);"> -->
        <!-- Para essa tal-->
    <tal:level define="item_type_class     python: '';
                       item_wf_state_class python: 'state-' +
normalizeString(item.review_state);">
    <div tal:attributes="class item_type_class"
         tal:define="itemClass string:$item_wf_state_class
visualIconPadding;
                     itemClass python:test(isCurrent, itemClass + '
navTreeCurrentItem', itemClass);">
        
        <a tal:attributes="href python:test(linkRemote,
item.getRemoteUrl, itemUrl);
                           title item/Description;
                           class string:$itemClass"
            tal:content="item/Title">
            Selected Item Title 
        </a>
        
    </div>

    <ul tal:attributes="class python:'navTree navTreeLevel'+str(level)"
        tal:define="level python:level+1;"
        tal:condition="nocall:children">
        <metal:recurse
use-macro="here/portlet_navtree_macro/macros/nav_main"/>
    </ul>
    </tal:level>
</li>
</tal:navitem>
</metal:main>
</tal:master>

É isso ai!!!!

André Clímaco


--- Em zope-pt@yahoogrupos.com.br, "Natalia" <[EMAIL PROTECTED]> escreveu
>
> Olá, Boa tarde!
> 
> Como faço para tirar os icones da barra de navegação?
> 
> Natália
>



Responder a