<?xml version="1.0" encoding="ISO-8859-1"?>
<!--

    Copyright (C) 2009 eXo Platform SAS.
    
    This is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 2.1 of
    the License, or (at your option) any later version.
    
    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.
    
    You should have received a copy of the GNU Lesser General Public
    License along with this software; if not, write to the Free
    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301 USA, or see the FSF site: http://www.fsf.org.

-->

<configuration
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
   xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">


  <!-- Deploy template for Content List Viewer Portlet -->
  <external-component-plugins>
    <target-component>org.exoplatform.services.cms.views.ApplicationTemplateManagerService</target-component>
    <component-plugin>
      <name>clv.templates.plugin</name>
      <set-method>addPlugin</set-method>
      <type>org.exoplatform.services.cms.views.PortletTemplatePlugin</type>
      <description>This plugin is used to import views templates for Content List Viewer</description>
      <init-params>
        <value-param>
          <name>portletName</name>
          <value>content-list-viewer</value>
        </value-param>
        <value-param>
          <name>portlet.template.path</name>
          <value>war:/conf/content/artifacts/application-templates/content-list-viewer</value>
        </value-param>
        
        <object-param>
          <name>Banner</name>
          <description>Banner</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>Banner</string>
            </field>
            <field name="templateName">
              <string>Banner.gtmpl</string>
            </field>
            <field name="category">
              <string>list</string>
            </field>
          </object>
        </object-param>
        
        <object-param>
          <name>News</name>
          <description>News</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>News</string>
            </field>
            <field name="templateName">
              <string>News.gtmpl</string>
            </field>
            <field name="category">
              <string>list</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>Welcome</name>
          <description>Welcome</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>Welcome</string>
            </field>
            <field name="templateName">
              <string>Welcome.gtmpl</string>
            </field>
            <field name="category">
              <string>list</string>
            </field>
          </object>
        </object-param>
                <object-param>
          <name>WhyUs</name>
          <description>Why Us</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>Why Us</string>
            </field>
            <field name="templateName">
              <string>WhyUs.gtmpl</string>
            </field>
            <field name="category">
              <string>list</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>AFewWords</name>
          <description>A Few Words</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>A Few Words</string>
            </field>
            <field name="templateName">
              <string>AFewWords.gtmpl</string>
            </field>
            <field name="category">
              <string>list</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>ServicesShortList</name>
          <description>Services Short List</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>Services Short List</string>
            </field>
            <field name="templateName">
              <string>ServicesShortList.gtmpl</string>
            </field>
            <field name="category">
              <string>list</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>Articles</name>
          <description>Articles</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>Articles</string>
            </field>
            <field name="templateName">
              <string>Articles.gtmpl</string>
            </field>
            <field name="category">
              <string>list</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>Testimonials</name>
          <description>Testimonials</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>Testimonials</string>
            </field>
            <field name="templateName">
              <string>Testimonials.gtmpl</string>
            </field>
            <field name="category">
              <string>list</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>Team Work</name>
          <description>Team Work</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>Team Work</string>
            </field>
            <field name="templateName">
              <string>TeamWork.gtmpl</string>
            </field>
            <field name="category">
              <string>list</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>Services Overview</name>
          <description>Services Overview</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>Services Overview</string>
            </field>
            <field name="templateName">
              <string>ServicesOverview.gtmpl</string>
            </field>
            <field name="category">
              <string>list</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>Blog</name>
          <description>Blog</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>Blog</string>
            </field>
            <field name="templateName">
              <string>Blog.gtmpl</string>
            </field>
            <field name="category">
              <string>list</string>
            </field>
          </object>
        </object-param>
        
        <object-param>
          <name>Blog Archives</name>
          <description>Blog Archives</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
              <string>Blog Archives</string>
            </field>
            <field name="templateName">
              <string>BlogArchives.gtmpl</string>
            </field>
            <field name="category">
              <string>navigation</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>Blog Categories</name>
          <description>Blog Categories</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
              <string>Blog Categories</string>
            </field>
            <field name="templateName">
              <string>BlogCategories.gtmpl</string>
            </field>
            <field name="category">
              <string>navigation</string>
            </field>
          </object>
        </object-param>
        
        <object-param>
          <name>default.paginator</name>
          <description>Simple paginator groovy template</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>Simple Paginator</string>
                        </field>
            <field name="templateName">
              <string>SimplePaginator.gtmpl</string>
            </field>
            <field name="category">
              <string>paginators</string>
            </field>
          </object>
        </object-param>
      </init-params>
    </component-plugin>
  </external-component-plugins>

  <!-- Deploy template for Search Portlet -->
  <external-component-plugins>
    <target-component>org.exoplatform.services.cms.views.ApplicationTemplateManagerService</target-component>
    <component-plugin>
      <name>search.templates.plugin</name>
      <set-method>addPlugin</set-method>
      <type>org.exoplatform.services.cms.views.PortletTemplatePlugin</type>
      <description>This plugin is used to import views templates for search ui</description>
      <init-params>
        <value-param>
          <name>portletName</name>
          <value>search</value>
        </value-param>
        <value-param>
          <name>portlet.template.path</name>
          <value>war:/conf/content/artifacts/application-templates/wcm-search</value>
        </value-param>
        <object-param>
          <name>default.searchPageLayout</name>
          <description>Default search page layout template</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>Agital Page Layout</string>
                        </field>
            <field name="templateName">
              <string>AgitalPageLayout.gtmpl</string>
            </field>
            <field name="category">
              <string>search-page-layout</string>
            </field>
          </object>
        </object-param>        
        <object-param>
          <name>default.searchForm</name>
          <description>Agital default search form template</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>AgitalForm</string>
                        </field>
            <field name="templateName">
              <string>AgitalForm.gtmpl</string>
            </field>
            <field name="category">
              <string>search-form</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>default.searchResult</name>
          <description>Agital default search result template</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>AgitalResults</string>
                        </field>
            <field name="templateName">
              <string>AgitalResults.gtmpl</string>
            </field>
            <field name="category">
              <string>search-result</string>
            </field>
          </object>
        </object-param>
        <object-param>
          <name>default.searchPaginator</name>
          <description>Default search paginator template</description>
          <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
            <field name="title">
               <string>Agital Paginator</string>
                        </field>
            <field name="templateName">
              <string>AgitalPaginator.gtmpl</string>
            </field>
            <field name="category">
              <string>search-paginator</string>
            </field>
          </object>
        </object-param>
      </init-params>
    </component-plugin>
  </external-component-plugins>

</configuration>
