Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

These instructions step you through the process to enable the minimize links on portlets.

Step 1. Modify the content.xsl file

  • Open content.xsl for editing (../uportal-war/src/main/resources/layout/theme/universality/content.xsl)
  • Uncomment the areas below ("UNCOMMENT FOR MINIMIZE CONROL"):
    <xsl:if test="not(//focused) and @minimized='false'"> <!-- Focus. -->
            <!-- UNCOMMENT FOR MINIMIZE CONTROL
            <a href="{$BASE_ACTION_URL}?uP_root=root&amp;uP_tcattr=minimized&amp;minimized_channelId={@ID}&amp;minimized_{@ID}_value=true&amp;uP_save=all" title="{$TOKEN[@name='PORTLET_MINIMIZE_LONG_LABEL']}" class="up-portlet-control minimize">
              <span><xsl:value-of select="$TOKEN[@name='PORTLET_MINIMIZE_LABEL']"/></span>
            </a>
            -->
            <a href="{$BASE_ACTION_URL}?uP_root={@ID}" title="{$TOKEN[@name='PORTLET_MAXIMIZE_LONG_LABEL']}" class="up-portlet-control focus">
              <span><xsl:value-of select="$TOKEN[@name='PORTLET_MAXIMIZE_LABEL']"/></span>
            </a>
          </xsl:if>
          <xsl:if test="@minimized='true'"> <!-- Return from Minimized. -->
            <!-- UNCOMMENT FOR UNMINIMIZE CONTROL
            <a href="{$BASE_ACTION_URL}?uP_root=root&amp;uP_tcattr=minimized&amp;minimized_channelId={@ID}&amp;minimized_{@ID}_value=false&amp;uP_save=all" title="
    {$TOKEN[@name='PORTLET_RETURN_LONG_LABEL']}" class="up-portlet-control return">
              <span><xsl:value-of select="$TOKEN[@name='PORTLET_RETURN_LABEL']"/></span>
            </a>
            -->
          </xsl:if>
    
    
  • No labels