Hello all,

I want to extend the CMS (Release-CMS-v6_05_01) with a tab for adding video 
meta data. This extension is similar to the imageset functionality. 
The video xml's will be placed in /default/files/default.preview/video.

I have managed to create a tab which shows the contents of the video folder. My 
next step is to add a folder action, which creates a new sub folder.

In the component.xml of the video perspective, the following view is added:
<view id="videofolderactions" label="FolderActions" 
className="VideoFolderActionsView" appUrl="/explorer/actionsform" 
bootParam="/video/" style="actionsview"/> 

In actions.xml (extensions module) I have added:
  <ActionList resourceType="videoCollection">
    <ActionGroup name="actions.folderactions.label" i18n:attr="name">
      <Icon>folder_open</Icon>
      <Action>
        <ID>documents_makeCollection</ID>
        <Label><i18n:text>actions.folder.new</i18n:text></Label>
        <Icon>folder_new</Icon>
        <Param>
              <ID>name</ID>
          <Label><i18n:text>actions.folder.new.name</i18n:text></Label>
          <Datatype>string</Datatype>
        </Param>
      </Action>
    </ActionGroup>
  </ActionList>


I have found out that workflow2actions.xsl translates the path to the 
resourceType. The xsl file is part of the editor module. 
Is it possible to extend this mechanism, without creating a patch? If not, how 
do I create a patch?

Thanks in advance.

Regards,
Jurriaan van den Bosch


********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to