Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10877

Add a plugin for dynamic organizational chart

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4.0
    • 4.5.0
    • None
    • None
    • 4.5 M7, 4.5 RC1

    Description

      sitemap.xmap

      <?xml version="1.0" encoding="UTF-8"?>
      <!--
         Copyright 2010 Anyware Services
      
         Licensed under the Apache License, Version 2.0 (the "License");
         you may not use this file except in compliance with the License.
         You may obtain a copy of the License at
      
             http://www.apache.org/licenses/LICENSE-2.0
      
         Unless required by applicable law or agreed to in writing, software
         distributed under the License is distributed on an "AS IS" BASIS,
         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         See the License for the specific language governing permissions and
         limitations under the License.
         -->
      <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
      	<map:components>
      		<map:actions>
                  <map:action name="get-content" src="org.ametys.cms.content.GetContentAction"/>
                  <map:action name="get-site" src="org.ametys.web.content.GetSiteAction"/>
      		</map:actions>
      	</map:components>
      
          <map:pipelines>
              <map:pipeline>
      			<map:match pattern="_content.*">
                      <map:act type="get-content">
                          <map:parameter name="id" value="{request-param:contentId}"/>
                          <map:parameter name="versionLabel" value="{request-param:versionLabel}"/>
                          <map:parameter name="contentVersion" value="{request-param:contentVersion}"/>
                          
                          <map:act type="get-site" src="{request-param:site}">
                          	<map:generate src="cocoon://_plugins/{../plugin}/{../contentType}.{../../1}"/>
                          	<map:transform src="pages/body.xsl"/>
                          	<map:serialize type="xml"/>
                          </map:act>
                      </map:act>
                  </map:match>
              </map:pipeline>
          </map:pipelines>
      
      </map:sitemap>
      

      Attachments

        Issue Links

          Activity

            People

              laurence Laurence Aumeunier
              Léa Léa Bouziat
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: