You are looking at documentation for an older release. Not what you want? See the current release documentation.
Groovy templates can be overriden thanks to extension mechanism. Here are steps to override a template of Organization portlet. The source code used in this section is provided here for downloading.
Take a look at $PLATFORM_TOMCAT_HOME/webapps/eXoResources/groovy/organization/webui/component/UIOrganizationPortlet.gtmpl
.
This file contains the template definitions of the Organization portlet.
Create a UIOrganizationPortlet.gtmpl
file and put it in
custom-extension.war!/groovy/organization/webui/component
.
Copy the existing content from UIOrganizationPortlet.gtmpl
of Step 1
into your custom-extension.war!/groovy/organization/webui/component/UIOrganizationPortlet.gtmpl
,
then modify your file, for example change the color of text and background on the toolbar.
Refresh the browser if you are running eXo Platform at the developer mode. You will see your modification take effect on the Organization portlet.
If you are not running eXo Platform in the developer mode, you will have to restart the server.