10 Replies Latest reply on Aug 11, 2010 5:03 AM by A Lyahyaoui

    Overriding UIPortalNavigation.gtmpl doesn't work

    A Lyahyaoui Newbie

      Hi ,

       

      I'm trying to add some Text inside the Navigation Portlet ,but it still not appear on the Page.

       

      My Steps:

       

      1- To modify the UIPortalNavigation.gtmpl located in web.war/groovy/portal/webui/component.

      2- To copy the UIPortalNavigation.gtmpl into webapp/templates/groovy/webui/component/UIPortalNavigation.gtmpl

      3- To redefine Preferences of the Navigationportlet in the portal.xml :

       

      <portlet-application>
                  <portlet>
                 <application-ref>web</application-ref>
                 <portlet-ref>MenuPortlet</portlet-ref>
                 <preferences>
                   <preference>
                     <name>template</name>
                     <value>system:/templates/groovy/webui/component/UIPortalNavigation.gtmpl</value>
                     <read-only>false</read-only>
                   </preference>
                 </preferences>
               </portlet>
                  <access-permissions>Everyone</access-permissions>
                  <show-info-bar>false</show-info-bar>
            <show-application-state>false</show-application-state>
            <show-application-mode>false</show-application-mode>

      </portlet-application>

       

      Is anything absent so that the Text appears in the  page?

       

      Ps: I change The UIFooterPortlet.gtmpl width the some Steps and it works.