Hi Jurriaan,

I think you're on the right way with the implementation. I don't have any 
examples for custom folder/document actions at hand at the moment, but it was 
done before, in a similar way. 

Furthermore, you can  use the overriding mechanism in the CMS to replace 
certain pipelines in the CMS by your own implementation, see this page:

http://www.hippocms.org/display/CMS/Overriding+core+CMS+code

hth
Dennis

-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Jurriaan van den Bosch
Sent: Tue 9/16/2008 4:13 PM
To: [email protected]
Subject: [HippoCMS-dev] Adding a video tab
 
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


<<winmail.dat>>

********************************************
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