mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added blog module into core - not complete! Also updated version.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7601 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -746,7 +746,7 @@
|
||||
<param name="id">#{actionContext.id}</param>
|
||||
</params>
|
||||
</action>
|
||||
|
||||
|
||||
<!-- delete item action -->
|
||||
<action id="delete_item">
|
||||
<label-id>delete</label-id>
|
||||
@@ -758,11 +758,54 @@
|
||||
</params>
|
||||
</action>
|
||||
|
||||
|
||||
<action id="postBlog">
|
||||
<permissions>
|
||||
<permission allow="true">Write</permission>
|
||||
</permissions>
|
||||
<evaluator>org.alfresco.module.blogIntegration.ui.PostBlogEvaluator</evaluator>
|
||||
<label>Post To Blog</label>
|
||||
<image>/images/icons/edit_icon.gif</image>
|
||||
<action-listener>#{org_alfresco_module_blogIntegration_BlogActionListener.executeScript}</action-listener>
|
||||
<params>
|
||||
<param name="id">#{actionContext.id}</param>
|
||||
<param name="action">post</param>
|
||||
</params>
|
||||
</action>
|
||||
|
||||
<action id="updateBlog">
|
||||
<permissions>
|
||||
<permission allow="true">Write</permission>
|
||||
</permissions>
|
||||
<evaluator>org.alfresco.module.blogIntegration.ui.UpdateBlogEvaluator</evaluator>
|
||||
<label>Update Blog Post</label>
|
||||
<image>/images/icons/edit_icon.gif</image>
|
||||
<action-listener>#{org_alfresco_module_blogIntegration_BlogActionListener.executeScript}</action-listener>
|
||||
<params>
|
||||
<param name="id">#{actionContext.id}</param>
|
||||
<param name="action">update</param>
|
||||
</params>
|
||||
</action>
|
||||
|
||||
<action id="removeBlog">
|
||||
<permissions>
|
||||
<permission allow="true">Write</permission>
|
||||
</permissions>
|
||||
<evaluator>org.alfresco.module.blogIntegration.ui.UpdateBlogEvaluator</evaluator>
|
||||
<label>Remove Blog Post</label>
|
||||
<image>/images/icons/edit_icon.gif</image>
|
||||
<action-listener>#{org_alfresco_module_blogIntegration_BlogActionListener.executeScript}</action-listener>
|
||||
<params>
|
||||
<param name="id">#{actionContext.id}</param>
|
||||
<param name="action">remove</param>
|
||||
</params>
|
||||
</action>
|
||||
|
||||
<!-- the 'action-group' elements define unique blocks of actions that reference the actions
|
||||
as defined above and can override or supply display elements for the group of actions -->
|
||||
<!-- the component is responsible for making the context Node object available with name
|
||||
of 'actionContext' so the actions can access it directly to get properties -->
|
||||
|
||||
|
||||
<!-- Action for adding content - quick upload -->
|
||||
<action-group id="add_content_menu">
|
||||
<style>white-space:nowrap</style>
|
||||
@@ -877,6 +920,9 @@
|
||||
<action idref="add_translation" />
|
||||
<action idref="add_translation_wc" />
|
||||
<action idref="ml_details" />
|
||||
<action idref="postBlog" />
|
||||
<action idref="updateBlog" />
|
||||
<action idref="removeBlog" />
|
||||
</action-group>
|
||||
|
||||
<action-group id="multilingual_details_actions">
|
||||
|
@@ -678,5 +678,33 @@
|
||||
<show-property name="title" show-in-view-mode="false" show-in-edit-mode="false" />
|
||||
</property-sheet>
|
||||
</config>
|
||||
|
||||
<!-- ********************************** -->
|
||||
<!-- Configuration for Blog aspects -->
|
||||
<!-- ********************************** -->
|
||||
|
||||
<config evaluator="aspect-name" condition="blg:blogDetails">
|
||||
<property-sheet>
|
||||
<separator name="sepBlogDetails" display-label="Blog Details" component-generator="HeaderSeparatorGenerator" />
|
||||
<show-property name="blg:blogImplementation" component-generator="BlogSelectorGenerator"/>
|
||||
<show-property name="blg:id" />
|
||||
<show-property name="blg:name" />
|
||||
<show-property name="blg:description" />
|
||||
<show-property name="blg:url" component-generator="LinkGenerator"/>
|
||||
<show-property name="blg:userName" />
|
||||
<show-property name="blg:password" />
|
||||
</property-sheet>
|
||||
</config>
|
||||
|
||||
<config evaluator="aspect-name" condition="blg:blogPost">
|
||||
<property-sheet>
|
||||
<separator name="seprmTransferInstrustions" display-label="Blog Post Details" component-generator="HeaderSeparatorGenerator" show-in-edit-mode="false"/>
|
||||
<show-property name="blg:postId" show-in-edit-mode="false"/>
|
||||
<show-property name="blg:link" component-generator="LinkGenerator" show-in-edit-mode="false"/>
|
||||
<show-property name="blg:posted" show-in-edit-mode="false"/>
|
||||
<show-property name="blg:lastUpdate" show-in-edit-mode="false"/>
|
||||
<show-property name="blg:published" show-in-edit-mode="false"/>
|
||||
</property-sheet>
|
||||
</config>
|
||||
|
||||
</alfresco-config>
|
||||
|
Reference in New Issue
Block a user