<componentregistry>
<adapters/>
<utilities>
+ <utility interface="Products.CMFCore.interfaces.IActionsTool"
+ object="portal_actions"/>
+ <utility interface="Products.CMFCore.interfaces.ICachingPolicyManager"
+ object="caching_policy_manager"/>
+ <utility interface="Products.CMFCore.interfaces.IContentTypeRegistry"
+ object="content_type_registry"/>
+ <utility interface="Products.CMFCore.interfaces.ICookieCrumbler"
+ object="cookie_authentication"/>
+ <utility interface="Products.CMFCore.interfaces.IMemberDataTool"
+ object="portal_memberdata"/>
+ <utility interface="Products.CMFCore.interfaces.IMembershipTool"
+ object="portal_membership"/>
+ <utility interface="Products.CMFCore.interfaces.IRegistrationTool"
+ object="portal_registration"/>
+ <utility interface="Products.CMFCore.interfaces.ITypesTool"
+ object="portal_types"/>
+ <utility interface="Products.CMFCore.interfaces.IURLTool"
+ object="portal_url"/>
+ <utility interface="Products.CMFCore.interfaces.IWorkflowTool"
+ object="portal_workflow"/>
<utility interface="Products.CMFCore.interfaces.IDiscussionTool"
object="portal_discussion"/>
<utility interface="Products.CMFCore.interfaces.IMetadataTool"
<utility
interface="Products.CMFUid.interfaces.IUniqueIdAnnotationManagement"
object="portal_uidannotation"/>
+ <utility
+ interface="Products.CMFUid.interfaces.IUniqueIdHandler"
+ object="portal_uidhandler"/>
<utility interface="Products.CMFCore.interfaces.ICatalogTool"
object="portal_catalog"/>
+ <utility interface="Products.CMFCore.interfaces.ISkinsTool"
+ object="portal_skins"/>
+
</utilities>
</componentregistry>
<argument value="image"/>
<argument value=""/>
</predicate>
+ <predicate name="photo_extensions" content_type_name="Photo"
+ predicate_type="extension">
+ <argument value="jpg,jpeg,JPG,JPEG"/>
+ </predicate>
<predicate name="file" content_type_name="File" predicate_type="major_minor">
<argument value="application"/>
<argument value=""/>
+++ /dev/null
-<?xml version="1.0"?>
-<export-steps>
- <export-step id="actions"
- handler="Products.CMFCore.exportimport.actions.exportActionProviders"
- title="Action Providers">
-
-
- Export actions tool's action providers and their actions.
-
-
- </export-step>
- <export-step id="caching_policy_mgr"
- handler="Products.CMFCore.exportimport.cachingpolicymgr.exportCachingPolicyManager"
- title="Caching Policies">
-
-
- Export caching policy manager's policies.
-
-
- </export-step>
- <export-step id="catalog"
- handler="Products.CMFCore.exportimport.catalog.exportCatalogTool"
- title="Catalog Tool">
-
-
- Export catalog tool's sub-objects, indexes and columns.
-
-
- </export-step>
- <export-step id="componentregistry"
- handler="Products.GenericSetup.components.exportComponentRegistry"
- title="Local Component Registry">
-
-
- Export local component registry configuration.
-
-
- </export-step>
- <export-step id="content_type_registry"
- handler="Products.CMFCore.exportimport.contenttyperegistry.exportContentTypeRegistry"
- title="Content Type Registry">
-
-
- Export content type registry's predicates / bindings.
-
-
- </export-step>
- <export-step id="cookieauth"
- handler="Products.CMFCore.exportimport.cookieauth.exportCookieCrumbler"
- title="Cookie Authentication">
-
-
- Export cookie crumbler settings
-
-
- </export-step>
- <export-step id="mailhost"
- handler="Products.CMFCore.exportimport.mailhost.exportMailHost"
- title="MailHost">
-
-
- Export the mailhost's settings and properties
-
-
- </export-step>
- <export-step id="properties"
- handler="Products.CMFCore.exportimport.properties.exportSiteProperties"
- title="Site Properties">
-
-
- Export site properties.
-
-
- </export-step>
- <export-step id="rolemap"
- handler="Products.GenericSetup.rolemap.exportRolemap"
- title="Role / Permission Map">
-
-
- Export custom roles and non-default role-permission mappings.
-
-
- </export-step>
- <export-step id="skins"
- handler="Products.CMFCore.exportimport.skins.exportSkinsTool"
- title="Skins Tool">
-
-
- Export skins tool's filesystem directory views and skin path definitions.
-
-
- </export-step>
- <export-step id="step_registries"
- handler="Products.GenericSetup.tool.exportStepRegistries"
- title="Step Registries">
-
-
- Export current contents of import step registry and export step registry.
-
-
- </export-step>
- <export-step id="toolset"
- handler="Products.GenericSetup.tool.exportToolset"
- title="Required Tools">
-
-
- Export required / forbidden tools.
-
-
- </export-step>
- <export-step id="typeinfo"
- handler="Products.CMFCore.exportimport.typeinfo.exportTypesTool"
- title="Types Tool">
-
-
- Export types tool's type information objects.
-
-
- </export-step>
- <export-step id="various-plinn-settings"
- handler="Products.Plinn.setuphandlers.exportVarious"
- title="Various Plinn settings">
-
-
- Export various plinn settings as python script.
-
-
- </export-step>
- <export-step id="workflows"
- handler="Products.CMFCore.exportimport.workflow.exportWorkflowTool"
- title="Workflow Tool">
-
-
- Export workflow tool's workflow definitions and supporting scripts.
-
-
- </export-step>
-</export-steps>
+++ /dev/null
-<?xml version="1.0"?>
-<import-steps>
- <import-step id="actions" version="20071112-01"
- handler="Products.CMFCore.exportimport.actions.importActionProviders"
- title="Action Providers">
- <dependency step="componentregistry"/>
-
-
-
-
- Import actions tool's action providers and their actions.
-
-
- </import-step>
- <import-step id="caching_policy_mgr" version="20051011-01"
- handler="Products.CMFCore.exportimport.cachingpolicymgr.importCachingPolicyManager"
- title="Caching Policies">
- <dependency step="toolset"/>
-
-
-
-
- Import caching policy manager's policies.
-
-
- </import-step>
- <import-step id="catalog" version="20071112-01"
- handler="Products.CMFCore.exportimport.catalog.importCatalogTool"
- title="Catalog Tool">
- <dependency step="toolset"/>
-
-
-
-
- Import catalog tool's sub-objects, indexes and columns.
-
-
- </import-step>
- <import-step id="componentregistry" version="20061025-01"
- handler="Products.GenericSetup.components.importComponentRegistry"
- title="Local Component Registry">
-
-
-
- Import local component registry configuration.
-
-
- </import-step>
- <import-step id="content_type_registry"
- version="20071112-01"
- handler="Products.CMFCore.exportimport.contenttyperegistry.importContentTypeRegistry"
- title="Content Type Registry">
- <dependency step="componentregistry"/>
-
-
-
-
- Import content type registry's predicates and bindings.
-
-
- </import-step>
- <import-step id="cookie_authentication"
- version="20071112-01"
- handler="Products.CMFCore.exportimport.cookieauth.importCookieCrumbler"
- title="Cookie Authentication">
- <dependency step="toolset"/>
-
-
-
-
- Import cookie crumbler settings
-
-
- </import-step>
- <import-step id="mailhost" version="20071112-01"
- handler="Products.CMFCore.exportimport.mailhost.importMailHost"
- title="MailHost">
- <dependency step="componentregistry"/>
- <dependency step="toolset"/>
-
-
-
-
-
-
- Import mailhost settings
-
-
- </import-step>
- <import-step id="properties" version="20071112-01"
- handler="Products.CMFCore.exportimport.properties.importSiteProperties"
- title="Site Properties">
-
-
- Import site properties.
-
-
- </import-step>
- <import-step id="rolemap" version="20071112-01"
- handler="Products.GenericSetup.rolemap.importRolemap"
- title="Role / Permission Map">
-
-
- Import custom roles and non-default role-permission mappings.
-
-
- </import-step>
- <import-step id="skins" version="20071112-01"
- handler="Products.CMFCore.exportimport.skins.importSkinsTool"
- title="Skins Tool">
- <dependency step="componentregistry"/>
-
-
-
-
- Import skins tool's filesystem directory views and skin path definitions.
-
-
- </import-step>
- <import-step id="toolset" version="20071112-01"
- handler="Products.GenericSetup.tool.importToolset"
- title="Required tools">
-
-
- Create required tools, replacing any of the wrong class, and remove
- forbidden ones.
-
-
- </import-step>
- <import-step id="typeinfo" version="20071112-01"
- handler="Products.CMFCore.exportimport.typeinfo.importTypesTool"
- title="Types Tool">
- <dependency step="toolset"/>
-
-
-
-
- Import types tool's type information objects.
-
-
- </import-step>
- <import-step id="various-calendar" version="20050316-01"
- handler="Products.CMFCalendar.setuphandlers.importVarious"
- title="Various Calendar Settings">
- <dependency step="componentregistry"/>
- <dependency step="toolset"/>
-
-
-
-
-
- Import various settings for CMF Calendar.
-
-
- </import-step>
- <import-step id="various-plinn-settings"
- version="20060112-01"
- handler="Products.Plinn.setuphandlers.importVarious"
- title="Various Plinn settings">
- <dependency step="skins"/>
- <dependency step="toolset"/>
- <dependency step="typeinfo"/>
- <dependency step="workflow"/>
-
-
-
-
-
-
- Import various settings from Plinn products.
-
-
- </import-step>
- <import-step id="workflow" version="20071112-01"
- handler="Products.CMFCore.exportimport.workflow.importWorkflowTool"
- title="Workflow Tool">
- <dependency step="toolset"/>
-
-
-
-
- Import workflow tool's workflow definitions and supporting scripts.
-
-
- </import-step>
-</import-steps>
+++ /dev/null
-<?xml version="1.0"?>
-<object name="mosaic_tool" meta_type="Mosaic Tool">
- <property name="title"></property>
- <object name="Action Box Block" meta_type="Mosaic Block Information"/>
- <object name="Container Block" meta_type="Mosaic Block Information"/>
- <object name="File Block" meta_type="Mosaic Block Information"/>
- <object name="Image Block" meta_type="Mosaic Block Information"/>
- <object name="Mosaic Document" meta_type="Mosaic Block Information"/>
- <object name="Section Block" meta_type="Mosaic Block Information"/>
- <object name="Spacer Block" meta_type="Mosaic Block Information"/>
- <object name="Text Block" meta_type="Mosaic Block Information"/>
- <object name="Tree Box Block" meta_type="Mosaic Block Information"/>
- <object name="Two Images Block" meta_type="Mosaic Block Information"/>
-</object>
+++ /dev/null
-<?xml version="1.0"?>
-<object name="Action Box Block" meta_type="Mosaic Block Information"
- xmlns:i18n="http://xml.zope.org/namespaces/i18n">
- <property name="title">Action Box Block</property>
- <property name="description"></property>
- <property name="content_icon">mosaic_tool/action_block_icon.gif</property>
- <property name="content_meta_type">Action Box Block</property>
- <property name="template">mosaic_tool/action_block_template</property>
- <property name="notify_wf">False</property>
- <property name="product">MosaicDocument</property>
- <property name="factory">addMosaicBlock</property>
- <property name="immediate_view">view</property>
- <property name="global_allow">True</property>
- <property name="filter_content_types">True</property>
- <property name="allowed_content_types"/>
- <property name="allow_discussion">False</property>
- <action title="view" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/view" visible="True">
- <permission value="View"/>
- </action>
-</object>
+++ /dev/null
-<?xml version="1.0"?>
-<object name="Container Block" meta_type="Mosaic Block Information"
- xmlns:i18n="http://xml.zope.org/namespaces/i18n">
- <property name="title">Container block</property>
- <property name="description"></property>
- <property name="content_icon">mosaic_tool/image_block_icon.gif</property>
- <property name="content_meta_type">Container Block</property>
- <property name="template">mosaic_tool/block_container_template</property>
- <property name="notify_wf">True</property>
- <property name="product">MosaicDocument</property>
- <property name="factory">addMosaicBlock</property>
- <property name="immediate_view">view</property>
- <property name="global_allow">True</property>
- <property name="filter_content_types">True</property>
- <property name="allowed_content_types"/>
- <property name="allow_discussion">False</property>
- <action title="view" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/view" visible="True">
- <permission value="View"/>
- </action>
-</object>
+++ /dev/null
-<?xml version="1.0"?>
-<object name="File Block" meta_type="Mosaic Block Information"
- xmlns:i18n="http://xml.zope.org/namespaces/i18n">
- <property name="title">File Block</property>
- <property name="description"></property>
- <property name="content_icon">mosaic_tool/image_block_icon.gif</property>
- <property name="content_meta_type">File Block</property>
- <property name="template">mosaic_tool/block_file_template</property>
- <property name="notify_wf">False</property>
- <property name="product">MosaicDocument</property>
- <property name="factory">addMosaicBlock</property>
- <property name="immediate_view">view</property>
- <property name="global_allow">True</property>
- <property name="filter_content_types">True</property>
- <property name="allowed_content_types"/>
- <property name="allow_discussion">False</property>
- <action title="view" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/view" visible="True">
- <permission value="View"/>
- </action>
-</object>
+++ /dev/null
-<?xml version="1.0"?>
-<object name="Image Block" meta_type="Mosaic Block Information"
- xmlns:i18n="http://xml.zope.org/namespaces/i18n">
- <property name="title">Image block</property>
- <property name="description"></property>
- <property name="content_icon">mosaic_tool/image_block_icon.gif</property>
- <property name="content_meta_type">Image Block</property>
- <property name="template">mosaic_tool/block_image_template</property>
- <property name="notify_wf">False</property>
- <property name="product">MosaicDocument</property>
- <property name="factory">addMosaicBlock</property>
- <property name="immediate_view">view</property>
- <property name="global_allow">True</property>
- <property name="filter_content_types">True</property>
- <property name="allowed_content_types"/>
- <property name="allow_discussion">False</property>
- <action title="view" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/view" visible="True">
- <permission value="View"/>
- </action>
-</object>
+++ /dev/null
-<?xml version="1.0"?>
-<object name="Mosaic Document" meta_type="Mosaic Block Information"
- xmlns:i18n="http://xml.zope.org/namespaces/i18n">
- <property name="title">Mosaic Document</property>
- <property name="description"></property>
- <property name="content_icon">mosaic_icon.png</property>
- <property name="content_meta_type">Mosaic Document</property>
- <property name="template"></property>
- <property name="notify_wf">True</property>
- <property name="product">MosaicDocument</property>
- <property name="factory">addMosaicDocument</property>
- <property name="immediate_view">metadata_edit_form</property>
- <property name="global_allow">True</property>
- <property name="filter_content_types">False</property>
- <property name="allowed_content_types"/>
- <property name="allow_discussion">True</property>
- <action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/mosaicdocument_view" visible="True">
- <permission value="View"/>
- </action>
- <action title="Edit" action_id="edit" category="object" condition_expr=""
- url_expr="string:${object_url}/mosaicdocument_edit_form" visible="True">
- <permission value="Modify portal content"/>
- </action>
- <action title="Metadata" action_id="metadata" category="object"
- condition_expr="" url_expr="string:${object_url}/metadata_edit_form"
- visible="True"/>
-</object>
+++ /dev/null
-<?xml version="1.0"?>
-<object name="Section Block" meta_type="Mosaic Block Information"
- xmlns:i18n="http://xml.zope.org/namespaces/i18n">
- <property name="title">Section block</property>
- <property name="description"></property>
- <property name="content_icon">mosaic_tool/image_block_icon.gif</property>
- <property name="content_meta_type">Section Block</property>
- <property name="template">mosaic_tool/block_section_template</property>
- <property name="notify_wf">False</property>
- <property name="product">MosaicDocument</property>
- <property name="factory">addMosaicBlock</property>
- <property name="immediate_view">view</property>
- <property name="global_allow">True</property>
- <property name="filter_content_types">True</property>
- <property name="allowed_content_types"/>
- <property name="allow_discussion">False</property>
- <action title="view" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/view" visible="True">
- <permission value="View"/>
- </action>
-</object>
+++ /dev/null
-<?xml version="1.0"?>
-<object name="Spacer Block" meta_type="Mosaic Block Information"
- xmlns:i18n="http://xml.zope.org/namespaces/i18n">
- <property name="title">Spacer block</property>
- <property name="description"></property>
- <property name="content_icon">mosaic_tool/image_block_icon.gif</property>
- <property name="content_meta_type">Spacer Block</property>
- <property name="template">mosaic_tool/block_spacer_template</property>
- <property name="notify_wf">False</property>
- <property name="product">MosaicDocument</property>
- <property name="factory">addMosaicBlock</property>
- <property name="immediate_view">view</property>
- <property name="global_allow">True</property>
- <property name="filter_content_types">True</property>
- <property name="allowed_content_types"/>
- <property name="allow_discussion">False</property>
- <action title="view" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/view" visible="True">
- <permission value="View"/>
- </action>
-</object>
+++ /dev/null
-<?xml version="1.0"?>
-<object name="Text Block" meta_type="Mosaic Block Information"
- xmlns:i18n="http://xml.zope.org/namespaces/i18n">
- <property name="title">Text block</property>
- <property name="description"></property>
- <property name="content_icon">mosaic_tool/image_block_icon.gif</property>
- <property name="content_meta_type">Text Block</property>
- <property name="template">mosaic_tool/block_text_template</property>
- <property name="notify_wf">False</property>
- <property name="product">MosaicDocument</property>
- <property name="factory">addMosaicBlock</property>
- <property name="immediate_view">view</property>
- <property name="global_allow">True</property>
- <property name="filter_content_types">True</property>
- <property name="allowed_content_types"/>
- <property name="allow_discussion">False</property>
- <action title="view" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/view" visible="True">
- <permission value="View"/>
- </action>
-</object>
+++ /dev/null
-<?xml version="1.0"?>
-<object name="Tree Box Block" meta_type="Mosaic Block Information"
- xmlns:i18n="http://xml.zope.org/namespaces/i18n">
- <property name="title">Tree Box Block</property>
- <property name="description"></property>
- <property name="content_icon">mosaic_tool/tree_block_icon.gif</property>
- <property name="content_meta_type">Tree Box Block</property>
- <property name="template">mosaic_tool/tree_block_template</property>
- <property name="notify_wf">False</property>
- <property name="product">MosaicDocument</property>
- <property name="factory">addMosaicBlock</property>
- <property name="immediate_view">view</property>
- <property name="global_allow">True</property>
- <property name="filter_content_types">True</property>
- <property name="allowed_content_types"/>
- <property name="allow_discussion">False</property>
- <action title="view" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/view" visible="True">
- <permission value="View"/>
- </action>
-</object>
+++ /dev/null
-<?xml version="1.0"?>
-<object name="Two Images Block" meta_type="Mosaic Block Information"
- xmlns:i18n="http://xml.zope.org/namespaces/i18n">
- <property name="title">Two images block</property>
- <property name="description"></property>
- <property name="content_icon">mosaic_tool/image_block_icon.gif</property>
- <property name="content_meta_type">Two Images Block</property>
- <property name="template">mosaic_tool/block_two_images_template</property>
- <property name="notify_wf">False</property>
- <property name="product">MosaicDocument</property>
- <property name="factory">addMosaicBlock</property>
- <property name="immediate_view">view</property>
- <property name="global_allow">True</property>
- <property name="filter_content_types">True</property>
- <property name="allowed_content_types"/>
- <property name="allow_discussion">False</property>
- <action title="view" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/view" visible="True">
- <permission value="View"/>
- </action>
-</object>
<property name="enable_permalink" type="boolean">True</property>
<property name="default_language" type="string">fr</property>
<property name="validate_email" type="boolean">False</property>
- <property name="slide_size" type="int">245</property>
- <property name="untitled_content_name" type="string">Untitled-</property>
+ <property name="slide_size" type="int">222</property>
+ <property name="untitled_content_form" type="string">Untitled-</property>
<property name="default_charset" type="string">utf-8</property>
<property name="management_page_charset" type="string">utf-8</property>
<property name="unused_topic_fields" type="lines">
<element value="start"/>
</property>
<property name="keywords" type="lines">
- <element value=""/>
</property>
- <property name="ajax_config" type="int">3</property>
+ <property name="ajax_config" type="int">2</property>
+ <property name="copyright_notice"
+ type="string"></property>
+ <property name="tiles_background_color" type="string">#ffffff</property>
+ <property name="tiles_min_zoom" type="int">25</property>
+ <property name="tiles_max_zoom" type="int">100</property>
+ <property name="tiles_step_zoom" type="int">25</property>
+ <property name="default_batch_size" type="int">50</property>
</site>
<role name="Anonymous"/>
<role name="Authenticated"/>
<role name="Contributor"/>
+ <role name="Downloader"/>
<role name="Manager"/>
<role name="Member"/>
<role name="Owner"/>
<permission name="Add Groups" acquire="True">
<role name="UserManager"/>
</permission>
+ <permission name="Add Lightbox" acquire="True">
+ <role name="Owner"/>
+ </permission>
<permission name="Add portal content" acquire="True">
<role name="Contributor"/>
<role name="Manager"/>
<role name="Owner"/>
</permission>
<permission name="Add portal member" acquire="False">
- <role name="Anonymous"/>
<role name="Manager"/>
+ <role name="UserManager"/>
</permission>
<permission name="Change Images and Files"
acquire="True">
<permission name="List folder contents" acquire="True">
<role name="Anonymous"/>
<role name="Contributor"/>
+ <role name="Downloader"/>
<role name="Reader"/>
</permission>
<permission name="List portal members" acquire="True">
<role name="Manager"/>
<role name="Owner"/>
</permission>
- <permission name="Use Factories" acquire="True">
- <role name="Manager"/>
- </permission>
<permission name="Use mailhost services" acquire="True">
<role name="Manager"/>
<role name="Member"/>
</permission>
<permission name="View" acquire="True">
<role name="Contributor"/>
+ <role name="Downloader"/>
<role name="Owner"/>
<role name="Reader"/>
</permission>
<role name="Manager"/>
<role name="Owner"/>
</permission>
+ <permission name="View raw image" acquire="True">
+ <role name="Downloader"/>
+ </permission>
+ <permission name="WebDAV access" acquire="False">
+ <role name="Downloader"/>
+ <role name="Manager"/>
+ </permission>
</permissions>
</rolemap>
directory="Products.MosaicDocument:skins"/>
<object name="mosaic_slots" meta_type="Filesystem Directory View"
directory="Products.MosaicDocument:default_slots"/>
+ <object name="photoprint" meta_type="Filesystem Directory View"
+ directory="Products.photoprint:skins"/>
<object name="plinn_ajax" meta_type="Filesystem Directory View"
directory="Products.Plinn:skins/ajax_scripts"/>
<object name="plinn_content" meta_type="Filesystem Directory View"
directory="Products.CMFCalendar:skins/zpt_calendar"/>
<skin-path name="Plinn Basic">
<layer name="custom"/>
+ <layer name="photoprint"/>
<layer name="plinn_content"/>
<layer name="plinn_control"/>
<layer name="plinn_generic"/>
class="Products.Plinn.GroupDataTool.GroupDataTool"/>
<required tool_id="portal_groups"
class="Products.Plinn.GroupsTool.GroupsTool"/>
+ <required tool_id="portal_image_manipulation"
+ class="Products.Portfolio.ImageManipulationTool.ImageManipulationTool"/>
<required tool_id="portal_memberdata"
class="Products.Plinn.MemberDataTool.MemberDataTool"/>
<required tool_id="portal_membership"
class="Products.Plinn.MembershipTool.MembershipTool"/>
<required tool_id="portal_metadata"
class="Products.CMFDefault.MetadataTool.MetadataTool"/>
+ <required tool_id="portal_photo_print"
+ class="Products.photoprint.tool.PhotoPrintTool"/>
<required tool_id="portal_properties"
class="Products.CMFDefault.PropertiesTool.PropertiesTool"/>
<required tool_id="portal_registration"
<object name="File Slot" meta_type="Factory-based Type Information"/>
<object name="Huge Plinn Folder" meta_type="Factory-based Type Information"/>
<object name="Image Slot" meta_type="Factory-based Type Information"/>
+ <object name="Lightbox" meta_type="Factory-based Type Information"/>
<object name="Link" meta_type="Factory-based Type Information"/>
<object name="List Slot" meta_type="Factory-based Type Information"/>
<object name="Mosaic Document" meta_type="Factory-based Type Information"/>
<object name="News Item" meta_type="Factory-based Type Information"/>
+ <object name="Order" meta_type="Factory-based Type Information"/>
+ <object name="Order Folder" meta_type="Factory-based Type Information"/>
<object name="Photo" meta_type="Factory-based Type Information"/>
<object name="Plinn Document" meta_type="Factory-based Type Information"/>
<object name="Plinn Folder" meta_type="Factory-based Type Information"/>
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<property name="title"></property>
<property name="description">Portal portal_type</property>
- <property name="content_icon">plinn_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/plinn_icon.gif</property>
<property name="content_meta_type"></property>
<property name="product"></property>
<property name="factory"></property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view"></property>
<property name="global_allow">False</property>
<property name="filter_content_types">True</property>
<element value="Calendar"/>
<element value="Document"/>
<element value="File"/>
+ <element value="Huge Plinn Folder"/>
<element value="News Item"/>
+ <element value="Order Folder"/>
<element value="Plinn Document"/>
<element value="Huge Plinn Folder"/>
<element value="Portfolio"/>
<alias from="mkdir" to="createPlinnFolder"/>
<alias from="view" to="index_html"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/index_html" visible="True">
+ icon_expr="" link_target="" url_expr="string:${object_url}/index_html"
+ visible="True">
<permission value="View"/>
</action>
<action title="List" action_id="folderContents" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_contents"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_contents" visible="True">
<permission value="List folder contents"/>
</action>
<action title="New..." action_id="new" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/folder_factories" visible="False">
<permission value="Add portal content"/>
</action>
<action title="Rename items" action_id="rename_items" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_rename_form"
- visible="False">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_rename_form" visible="False">
<permission value="Add portal content"/>
</action>
</object>
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<property name="title">Agenda</property>
<property name="description">Calendar contains events.</property>
- <property name="content_icon">calendar_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/calendar_icon.gif</property>
<property name="content_meta_type">Plinn Calendar</property>
<property name="product">Plinn</property>
<property name="factory">manage_addPlinnFolder</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">object/view</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<property name="allowed_content_types">
<element value="Event"/>
</property>
- <property name="allow_discussion">True</property>
+ <property name="allow_discussion">False</property>
<alias from="(Default)" to="cal_calendar_view"/>
<alias from="view" to="cal_calendar_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/cal_calendar_view" visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/folder_edit_form" visible="False">
<permission value="Manage properties"/>
</action>
<action title="Share" action_id="localroles" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_localrole_form" visible="True">
<permission value="Manage properties"/>
</action>
<action title="Status history" action_id="history" category="object"
- condition_expr="" url_expr="string:${object_url}/content_status_history"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/content_status_history" visible="True">
<permission value="Request review"/>
<permission value="Review portal content"/>
</action>
<property
name="description">Discussion Items are documents which reply to other content.
They should *not* be addable through the standard 'folder_factories' interface.</property>
- <property name="content_icon">discussionitem_icon.gif</property>
+ <property
+ name="icon_expr">string:${portal_url}/discussionitem_icon.gif</property>
<property name="content_meta_type">Discussion Item</property>
<property name="product"></property>
<property name="factory"></property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view"></property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<alias from="(Default)" to="discussionitem_view"/>
<alias from="view" to="discussionitem_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/discussionitem_view" visible="False">
<permission value="View"/>
</action>
<action title="Reply..." action_id="reply" category="discussion"
- condition_expr="" url_expr="string:${object_url}/discussion_reply_form"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/discussion_reply_form" visible="True">
<permission value="Reply to item"/>
</action>
<action title="Delete" action_id="del" category="discussion"
- condition_expr="" url_expr="string:${object_url}/discussionItemDelete"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/discussionItemDelete" visible="True">
<permission value="Manage portal"/>
</action>
</object>
<property name="title">Document</property>
<property
name="description">Contain text that can be formatted using 'Structured Text.' It may also contain HTML, or "plain" text.</property>
- <property name="content_icon">text.gif</property>
+ <property name="icon_expr">string:${portal_url}/text.gif</property>
<property name="content_meta_type">Document</property>
<property name="product">CMFDefault</property>
<property name="factory">addDocument</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">object/edit</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<property name="allowed_content_types"/>
- <property name="allow_discussion">True</property>
+ <property name="allow_discussion">False</property>
<alias from="(Default)" to="document_view"/>
<alias from="gethtml" to="source_html"/>
<alias from="info" to="content_info"/>
<alias from="view" to="document_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/document_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:${object_url}/document_view"
+ visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/document_edit_form" visible="True">
<permission value="Modify portal content"/>
</action>
<action title="Share" action_id="localroles" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_localrole_form" visible="True">
<permission value="Set Local Roles"/>
</action>
<action title="History" action_id="changes" category="object"
- condition_expr="" url_expr="string:${object_url}/changes_history"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/changes_history" visible="True">
<permission value="View History"/>
</action>
- <action title="Status history" action_id="history" category="workflow"
- condition_expr="" url_expr="string:${object_url}/content_status_history"
- visible="True">
- <permission value="Request review"/>
- </action>
</object>
<property name="title">Event</property>
<property
name="description">Events are objects for use in Calendar topical queries on the catalog.</property>
- <property name="content_icon">event_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/event_icon.gif</property>
<property name="content_meta_type">CMF Event</property>
<property name="product">CMFCalendar</property>
<property name="factory">addEvent</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">object/edit</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<property name="allowed_content_types"/>
- <property name="allow_discussion">True</property>
+ <property name="allow_discussion">False</property>
<alias from="(Default)" to="event_view"/>
<alias from="view" to="event_view"/>
<action title="Agenda" action_id="calendar_view" category="object"
- condition_expr="" url_expr="string:${folder_url}" visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${folder_url}" visible="True">
<permission value="View"/>
</action>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/event_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:${object_url}/event_view"
+ visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/event_edit_form" visible="True">
<permission value="Change portal events"/>
</action>
<action title="Share" action_id="localroles" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_localrole_form" visible="True">
<permission value="Set Local Roles"/>
</action>
<action title="Status history" action_id="history" category="object"
- condition_expr="" url_expr="string:${object_url}/content_status_history"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/content_status_history" visible="True">
<permission value="Request review"/>
<permission value="Review portal content"/>
</action>
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<property name="title">Favorite</property>
<property name="description">Link to an intra-portal resource.</property>
- <property name="content_icon">link_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/link_icon.gif</property>
<property name="content_meta_type">Favorite</property>
<property name="product">CMFDefault</property>
<property name="factory">addFavorite</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">object/edit</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<alias from="(Default)" to="favorite_view"/>
<alias from="view" to="favorite_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/favorite_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:${object_url}/favorite_view"
+ visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
- url_expr="string:${object_url}/link_edit_form" visible="True">
+ icon_expr="" link_target="" url_expr="string:${object_url}/link_edit_form"
+ visible="True">
<permission value="Modify portal content"/>
</action>
</object>
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<property name="title">File</property>
<property name="description">Contain arbitrary downloadable files.</property>
- <property name="content_icon">application.png</property>
+ <property name="icon_expr">string:${portal_url}/application.png</property>
<property name="content_meta_type">Plinn File</property>
- <property name="product"></property>
- <property name="factory">plinn.file</property>
+ <property name="product">Plinn</property>
+ <property name="factory">addFile</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">object/edit</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<property name="allowed_content_types"/>
- <property name="allow_discussion">True</property>
- <alias from="(Default)" to="file_view"/>
+ <property name="allow_discussion">False</property>
+ <alias from="(Default)" to="index_html"/>
<alias from="info" to="file_info"/>
<alias from="view" to="file_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/file_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:${object_url}/file_view"
+ visible="True">
<permission value="View"/>
</action>
<action title="Web preview" action_id="preview" category="object"
- condition_expr="" url_expr="string:${object_url}/preview" visible="False">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/preview" visible="False">
<permission value="View"/>
</action>
<action title="Download" action_id="download" category="object"
- condition_expr="" url_expr="string:${object_url}" visible="False">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}" visible="False">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
- url_expr="string:${object_url}/file_edit_form" visible="True">
+ icon_expr="" link_target="" url_expr="string:${object_url}/file_edit_form"
+ visible="True">
<permission value="Modify portal content"/>
</action>
<action title="Share" action_id="localroles" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_localrole_form" visible="True">
<permission value="Set Local Roles"/>
</action>
<action title="Status history" action_id="history" category="object"
- condition_expr="" url_expr="string:${object_url}/content_status_history"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/content_status_history" visible="True">
<permission value="Request review"/>
<permission value="Review portal content"/>
</action>
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<property name="title">File Slot</property>
<property name="description">File Slot for Mosaic Document</property>
- <property name="content_icon">mosaic_tool/bin_icon.gif</property>
+ <property
+ name="icon_expr">string:${portal_url}/mosaic_tool/bin_icon.gif</property>
<property name="content_meta_type">File Slot</property>
<property name="product">MosaicDocument</property>
<property name="factory">addFileSlot</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">view</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<alias from="(Default)" to="slot_file_view"/>
<alias from="view" to="slot_file_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:slot_file_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:slot_file_view"
+ visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
- url_expr="string:slot_file_form" visible="True">
+ icon_expr="" link_target="" url_expr="string:slot_file_form"
+ visible="True">
<permission value="Modify portal content"/>
</action>
</object>
<property name="title">Huge Folder</property>
<property
name="description">Container to put content in categories.</property>
- <property name="content_icon">folder_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/folder_icon.gif</property>
<property name="content_meta_type">Huge Plinn Folder</property>
<property name="product"></property>
<property name="factory">plinn.folder.huge</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">object/folderContents</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<alias from="mkdir" to="createHugePlinnFolder"/>
<alias from="view" to="folder_contents"/>
<action title="View" action_id="view" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/folder_contents" visible="False">
<permission value="View"/>
</action>
<action title="List" action_id="folderContents" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_contents"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_contents" visible="True">
<permission value="List folder contents"/>
</action>
<action title="Share" action_id="localroles" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_localrole_form" visible="True">
<permission value="Set Local Roles"/>
</action>
<action title="New..." action_id="new" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/folder_factories" visible="False">
<permission value="Add portal content"/>
</action>
<action title="Rename items" action_id="rename_items" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_rename_form"
- visible="False">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_rename_form" visible="False">
<permission value="Add portal content"/>
</action>
</object>
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<property name="title">Image Slot</property>
<property name="description">Image Slot for Mosaic Document</property>
- <property name="content_icon">mosaic_tool/photo_icon.gif</property>
+ <property
+ name="icon_expr">string:${portal_url}/mosaic_tool/photo_icon.gif</property>
<property name="content_meta_type">Image Slot</property>
<property name="product">MosaicDocument</property>
<property name="factory">addImageSlot</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">view</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<alias from="(Default)" to="slot_image_view"/>
<alias from="view" to="slot_image_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:slot_image_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:slot_image_view"
+ visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
- url_expr="string:slot_image_form" visible="True">
+ icon_expr="" link_target="" url_expr="string:slot_image_form"
+ visible="True">
<permission value="Modify portal content"/>
</action>
</object>
--- /dev/null
+<?xml version="1.0"?>
+<object name="Lightbox" meta_type="Factory-based Type Information"
+ xmlns:i18n="http://xml.zope.org/namespaces/i18n">
+ <property name="title">Lightbox</property>
+ <property name="description">lightbox holds references to photos</property>
+ <property name="icon_expr">string:${portal_url}/lightbox_icon.png</property>
+ <property name="content_meta_type">Lightbox</property>
+ <property name="product"></property>
+ <property name="factory">portfolio.lightbox</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
+ <property name="immediate_view">object/view</property>
+ <property name="global_allow">True</property>
+ <property name="filter_content_types">True</property>
+ <property name="allowed_content_types"/>
+ <property name="allow_discussion">False</property>
+ <alias from="(Default)" to="lightbox_view"/>
+ <alias from="view" to="lightbox_view"/>
+ <action title="View" action_id="view" category="object" condition_expr=""
+ icon_expr="" link_target="" url_expr="string:${object_url}/lightbox_view"
+ visible="True">
+ <permission value="View"/>
+ </action>
+</object>
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<property name="title">Link</property>
<property name="description">Annotated URL.</property>
- <property name="content_icon">link_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/link_icon.gif</property>
<property name="content_meta_type">Link</property>
<property name="product">CMFDefault</property>
<property name="factory">addLink</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">object/edit</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<alias from="info" to="content_info"/>
<alias from="view" to="link_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/link_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:${object_url}/link_view"
+ visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
- url_expr="string:${object_url}/link_edit_form" visible="True">
+ icon_expr="" link_target="" url_expr="string:${object_url}/link_edit_form"
+ visible="True">
<permission value="Modify portal content"/>
</action>
<action title="Share" action_id="localroles" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_localrole_form" visible="True">
<permission value="Set Local Roles"/>
</action>
<action title="Status history" action_id="history" category="object"
- condition_expr="" url_expr="string:${object_url}/content_status_history"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/content_status_history" visible="True">
<permission value="Request review"/>
<permission value="Review portal content"/>
</action>
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<property name="title">List Slot</property>
<property name="description">List Slot for Mosaic Document</property>
- <property name="content_icon">mosaic_tool/str_icon.gif</property>
+ <property
+ name="icon_expr">string:${portal_url}/mosaic_tool/str_icon.gif</property>
<property name="content_meta_type">List Slot</property>
<property name="product">MosaicDocument</property>
<property name="factory">addStringSlot</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">view</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<alias from="(Default)" to="slot_list_view"/>
<alias from="view" to="slot_list_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:slot_list_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:slot_list_view"
+ visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
- url_expr="string:slot_text_form" visible="True">
+ icon_expr="" link_target="" url_expr="string:slot_text_form"
+ visible="True">
<permission value="Modify portal content"/>
</action>
</object>
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<property name="title">Mosaic Document</property>
<property name="description"></property>
- <property name="content_icon">mosaic_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/mosaic_icon.gif</property>
<property name="content_meta_type">Mosaic Document</property>
<property name="product">MosaicDocument</property>
<property name="factory">addMosaicDocument</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">object/edit</property>
<property name="global_allow">True</property>
<property name="filter_content_types">False</property>
<property name="allowed_content_types"/>
- <property name="allow_discussion">True</property>
+ <property name="allow_discussion">False</property>
<alias from="(Default)" to="mosaicdocument_view"/>
<alias from="info" to="content_info"/>
<alias from="view" to="mosaicdocument_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/mosaicdocument_view" visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/mosaicdocument_edit_form" visible="True">
<permission value="Modify portal content"/>
</action>
<action title="Share" action_id="localroles" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_localrole_form" visible="True">
<permission value="Set Local Roles"/>
</action>
<action title="Status history" action_id="history" category="object"
- condition_expr="" url_expr="string:${object_url}/content_status_history"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/content_status_history" visible="True">
<permission value="Request review"/>
<permission value="Review portal content"/>
</action>
<property name="title">News Item</property>
<property
name="description">Short text article with a title and an optional lead-in.</property>
- <property name="content_icon">newsitem_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/newsitem_icon.gif</property>
<property name="content_meta_type">News Item</property>
<property name="product">CMFDefault</property>
<property name="factory">addNewsItem</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">object/edit</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<property name="allowed_content_types"/>
- <property name="allow_discussion">True</property>
+ <property name="allow_discussion">False</property>
<alias from="(Default)" to="newsitem_view"/>
<alias from="gethtml" to="source_html"/>
<alias from="info" to="content_info"/>
<alias from="view" to="newsitem_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/newsitem_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:${object_url}/newsitem_view"
+ visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/newsitem_edit_form" visible="True">
<permission value="Modify portal content"/>
</action>
<action title="Share" action_id="localroles" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_localrole_form" visible="True">
<permission value="Set Local Roles"/>
</action>
<action title="Status history" action_id="history" category="object"
- condition_expr="" url_expr="string:${object_url}/content_status_history"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/content_status_history" visible="True">
<permission value="Request review"/>
<permission value="Review portal content"/>
</action>
--- /dev/null
+<?xml version="1.0"?>
+<object name="Order" meta_type="Factory-based Type Information"
+ xmlns:i18n="http://xml.zope.org/namespaces/i18n">
+ <property name="title">Order</property>
+ <property name="description"></property>
+ <property name="icon_expr">string:${portal_url}/text.gif</property>
+ <property name="content_meta_type">Print order</property>
+ <property name="product"></property>
+ <property name="factory">photoprint.order</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
+ <property name="immediate_view">object/edit</property>
+ <property name="global_allow">True</property>
+ <property name="filter_content_types">True</property>
+ <property name="allowed_content_types"/>
+ <property name="allow_discussion">False</property>
+ <alias from="(Default)" to="order_view"/>
+ <action title="View" action_id="view" category="object" condition_expr=""
+ icon_expr="" link_target="" url_expr="string:${object_url}/order_view"
+ visible="True">
+ <permission value="View"/>
+ </action>
+</object>
--- /dev/null
+<?xml version="1.0"?>
+<object name="Order Folder" meta_type="Factory-based Type Information"
+ xmlns:i18n="http://xml.zope.org/namespaces/i18n">
+ <property name="title">Order Folder</property>
+ <property name="description"></property>
+ <property name="icon_expr">string:${portal_url}/folder_icon.gif</property>
+ <property name="content_meta_type">Huge Plinn Folder</property>
+ <property name="product"></property>
+ <property name="factory">plinn.folder.huge</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
+ <property name="immediate_view">object/folderContents</property>
+ <property name="global_allow">True</property>
+ <property name="filter_content_types">True</property>
+ <property name="allowed_content_types">
+ <element value="Order"/>
+ <element value="Order Folder"/>
+ </property>
+ <property name="allow_discussion">False</property>
+ <alias from="(Default)" to="order_list"/>
+ <alias from="mkdir" to="createHugePlinnFolder"/>
+ <alias from="view" to="folder_contents"/>
+ <action title="View" action_id="view" category="object" condition_expr=""
+ icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_contents" visible="False">
+ <permission value="View"/>
+ </action>
+ <action title="List" action_id="orderlist" category="object"
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/order_list" visible="True">
+ <permission value="List print orders"/>
+ </action>
+ <action title="Share" action_id="localroles" category="object"
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_localrole_form" visible="True">
+ <permission value="Set Local Roles"/>
+ </action>
+ <action title="New..." action_id="new" category="object" condition_expr=""
+ icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_factories" visible="False">
+ <permission value="Add portal content"/>
+ </action>
+ <action title="Rename items" action_id="rename_items" category="object"
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_rename_form" visible="False">
+ <permission value="Add portal content"/>
+ </action>
+</object>
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<property name="title">Photo</property>
<property name="description">Photo</property>
- <property name="content_icon">photo_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/photo_icon.gif</property>
<property name="content_meta_type">Photo</property>
- <property name="product">Portfolio</property>
- <property name="factory">addPhoto</property>
+ <property name="product"></property>
+ <property name="factory">portfolio.photo</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">object/edit</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<property name="allowed_content_types"/>
- <property name="allow_discussion">True</property>
+ <property name="allow_discussion">False</property>
<alias from="(Default)" to="photo_view"/>
<alias from="info" to="photo_info"/>
<alias from="view" to="photo_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/photo_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:${object_url}/photo_view"
+ visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/photo_edit_form" visible="True">
<permission value="Manage properties"/>
</action>
<action title="Share" action_id="localroles" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_localrole_form" visible="True">
<permission value="Set Local Roles"/>
</action>
+ <action title="Printing settings" action_id="printing_settings"
+ category="object" condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/photoprint_templates_edit_form"
+ visible="True">
+ <permission value="Manage print order template"/>
+ </action>
</object>
<property name="title">Plinn Document</property>
<property
name="description">Plinn Documents contain text and images that can be layout with WYSIWYG and drag&drop editor.</property>
- <property name="content_icon">plinn_doc.gif</property>
+ <property name="icon_expr">string:${portal_url}/plinn_doc.gif</property>
<property name="content_meta_type">Plinn Document</property>
<property name="product"></property>
<property name="factory">plinndocument</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">object/edit</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<property name="allowed_content_types"/>
- <property name="allow_discussion">True</property>
+ <property name="allow_discussion">False</property>
<alias from="(Default)" to="plinndocument_view"/>
<alias from="gethtml" to="source_html"/>
<alias from="info" to="content_info"/>
<alias from="view" to="plinndocument_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/plinndocument_view" visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/plinndocument_edit_form" visible="True">
<permission value="Modify portal content"/>
</action>
<action title="Share" action_id="localroles" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_localrole_form" visible="True">
<permission value="Set Local Roles"/>
</action>
- <action title="History" action_id="changes" category="object"
- condition_expr="" url_expr="string:${object_url}/changes_history"
- visible="True">
- <permission value="View History"/>
- </action>
- <action title="Status history" action_id="history" category="workflow"
- condition_expr="" url_expr="string:${object_url}/content_status_history"
- visible="True">
+ <action title="Status history" action_id="history" category="object"
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/content_status_history" visible="True">
<permission value="Request review"/>
+ <permission value="Review portal content"/>
</action>
</object>
<?xml version="1.0"?>
-<object name="Plinn Folder" meta_type="Factory-based Type Information"
+<object name="Huge Plinn Folder" meta_type="Factory-based Type Information"
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<property name="title">Folder</property>
<property
name="description">Container to put content in categories.</property>
- <property name="content_icon">folder_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/folder_icon.gif</property>
<property name="content_meta_type">Plinn Folder</property>
<property name="product"></property>
<property name="factory">plinn.folder.normal</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">object/folderContents</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<element value="File"/>
<element value="News Item"/>
<element value="Plinn Document"/>
- <element value="Plinn Folder"/>
+ <element value="Huge Plinn Folder"/>
<element value="Portfolio"/>
<element value="Topic"/>
</property>
<alias from="mkdir" to="createPlinnFolder"/>
<alias from="view" to="folder_contents"/>
<action title="View" action_id="view" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/folder_contents" visible="False">
<permission value="View"/>
</action>
<action title="List" action_id="folderContents" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_contents"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_contents" visible="True">
<permission value="List folder contents"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/folder_contents" visible="False">
<permission value="Manage properties"/>
</action>
- <action title="Import" action_id="import" category="object" condition_expr=""
- url_expr="string:${object_url}/massupload" visible="True">
- <permission value="Add portal content"/>
- </action>
<action title="Share" action_id="localroles" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_localrole_form" visible="True">
<permission value="Set Local Roles"/>
</action>
- <action title="Notifications" action_id="folder_notifications"
- category="object" condition_expr=""
- url_expr="string:${object_url}/folder_notifications_form" visible="True">
- <permission value="Subscribe Notification"/>
- </action>
- <action title="History" action_id="changes" category="object"
- condition_expr="" url_expr="string:${object_url}/changes_history"
- visible="True">
- <permission value="View History"/>
- </action>
<action title="New..." action_id="new" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/folder_factories" visible="False">
<permission value="Add portal content"/>
</action>
<action title="Rename items" action_id="rename_items" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_rename_form"
- visible="False">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_rename_form" visible="False">
<permission value="Add portal content"/>
</action>
</object>
<?xml version="1.0"?>
<object name="Portfolio" meta_type="Factory-based Type Information"
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
- <property name="title">Album photo</property>
+ <property name="title">Collection</property>
<property name="description">Folder for photo storage</property>
- <property name="content_icon">portfolio_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/portfolio_icon.gif</property>
<property name="content_meta_type">Portfolio</property>
- <property name="product">Portfolio</property>
- <property name="factory">addPortfolio</property>
- <property name="immediate_view">portfolio_view</property>
+ <property name="product"></property>
+ <property name="factory">portfolio.portfolio</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
+ <property name="immediate_view">object/view</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<property name="allowed_content_types">
<element value="Photo"/>
<element value="Portfolio"/>
</property>
- <property name="allow_discussion">True</property>
+ <property name="allow_discussion">False</property>
<alias from="(Default)" to="portfolio_view"/>
<alias from="mkdir" to="createPortfolio"/>
<alias from="view" to="portfolio_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/portfolio_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:${object_url}/portfolio_view"
+ visible="True">
<permission value="View"/>
</action>
- <action title="Export as zip" action_id="noajax" category="object"
+ <action title="Slide show" action_id="noajax" category="object"
condition_expr="python:object.listNearestFolderContents(contentFilter={'portal_type' : 'Photo'})"
- url_expr="string:${object_url}/exportAsZipFile" visible="True">
+ icon_expr="" link_target="" url_expr="string:${object_url}/slide_show"
+ visible="True">
<permission value="View"/>
</action>
- <action title="List" action_id="folderContents" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_contents"
+ <action title="Presentation" action_id="presentation" category="object"
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/portfolio_presentation_form"
visible="True">
- <permission value="Manage properties"/>
+ <permission value="Modify portal content"/>
+ </action>
+ <action title="List" action_id="folderContents" category="object"
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_contents" visible="True">
+ <permission value="List folder contents"/>
</action>
<action title="Import" action_id="import" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/portfolio_edit_form" visible="True">
<permission value="Add portal content"/>
</action>
<action title="Share" action_id="localroles" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_localrole_form" visible="True">
<permission value="Set Local Roles"/>
</action>
+ <action title="Printing settings" action_id="printing_settings"
+ category="object" condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/photoprint_templates_edit_form"
+ visible="True">
+ <permission value="Manage print order template"/>
+ </action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/folder_contents" visible="False">
<permission value="Manage properties"/>
</action>
<action title="New..." action_id="new" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/folder_factories" visible="False">
<permission value="Add portal content"/>
</action>
<action title="Rename items" action_id="rename_items" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_rename_form"
- visible="False">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_rename_form" visible="False">
<permission value="Add portal content"/>
</action>
<action title="mkdir" action_id="mkdir" category="object" condition_expr=""
- url_expr="string:createPortfolio" visible="False">
+ icon_expr="" link_target="" url_expr="string:createPortfolio"
+ visible="False">
<permission value="Add portal content"/>
</action>
</object>
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<property name="title">Spacer Slot</property>
<property name="description">Spacer Slot for Mosaic Document</property>
- <property name="content_icon">mosaic_tool/spacer_icon.gif</property>
+ <property
+ name="icon_expr">string:${portal_url}/mosaic_tool/spacer_icon.gif</property>
<property name="content_meta_type">Spacer Slot</property>
<property name="product">MosaicDocument</property>
<property name="factory">addSpacerSlot</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">view</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<alias from="(Default)" to="slot_spacer_view"/>
<alias from="view" to="slot_spacer_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:slot_spacer_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:slot_spacer_view"
+ visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
- url_expr="string:slot_spacer_form" visible="True">
+ icon_expr="" link_target="" url_expr="string:slot_spacer_form"
+ visible="True">
<permission value="Modify portal content"/>
</action>
</object>
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<property name="title">String Slot</property>
<property name="description">String Slot for Mosaic Document</property>
- <property name="content_icon">mosaic_tool/str_icon.gif</property>
+ <property
+ name="icon_expr">string:${portal_url}/mosaic_tool/str_icon.gif</property>
<property name="content_meta_type">String Slot</property>
<property name="product">MosaicDocument</property>
<property name="factory">addStringSlot</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">view</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<alias from="(Default)" to="slot_string_view"/>
<alias from="view" to="slot_string_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:slot_string_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:slot_string_view"
+ visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
- url_expr="string:slot_string_form" visible="True">
+ icon_expr="" link_target="" url_expr="string:slot_string_form"
+ visible="True">
<permission value="Modify portal content"/>
</action>
</object>
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<property name="title">Text Slot</property>
<property name="description">Text Slot for Mosaic Document</property>
- <property name="content_icon">mosaic_tool/txt_icon.gif</property>
+ <property
+ name="icon_expr">string:${portal_url}/mosaic_tool/txt_icon.gif</property>
<property name="content_meta_type">Text Slot</property>
<property name="product">MosaicDocument</property>
<property name="factory">addStringSlot</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">view</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<alias from="(Default)" to="slot_text_view"/>
<alias from="view" to="slot_text_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:slot_text_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:slot_text_view"
+ visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
- url_expr="string:slot_text_form" visible="True">
+ icon_expr="" link_target="" url_expr="string:slot_text_form"
+ visible="True">
<permission value="Modify portal content"/>
</action>
</object>
<property name="title"></property>
<property
name="description">Topics are canned queries for organizing content with up to date queries into the catalog.</property>
- <property name="content_icon">topic_icon.gif</property>
+ <property name="icon_expr">string:${portal_url}/topic_icon.gif</property>
<property name="content_meta_type">Plinn Topic</property>
<property name="product"></property>
<property name="factory">plinn.topic</property>
+ <property name="add_view_expr"></property>
+ <property name="link_target"></property>
<property name="immediate_view">object/edit</property>
<property name="global_allow">True</property>
<property name="filter_content_types">True</property>
<alias from="(Default)" to="topic_view"/>
<alias from="view" to="topic_view"/>
<action title="View" action_id="view" category="object" condition_expr=""
- url_expr="string:${object_url}/topic_view" visible="True">
+ icon_expr="" link_target="" url_expr="string:${object_url}/topic_view"
+ visible="True">
<permission value="View"/>
</action>
<action title="Edit" action_id="edit" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/topic_edit_form" visible="True">
<permission value="Change portal topics"/>
</action>
<action title="Subtopics" action_id="folderContents" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_contents"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_contents" visible="True">
<permission value="View"/>
</action>
<action title="New..." action_id="new" category="object" condition_expr=""
+ icon_expr="" link_target=""
url_expr="string:${object_url}/folder_factories" visible="False">
<permission value="Add portal topics"/>
</action>
<action title="Rename items" action_id="rename_items" category="object"
- condition_expr="" url_expr="string:${object_url}/folder_rename_form"
- visible="False">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/folder_rename_form" visible="False">
<permission value="Add portal topics"/>
</action>
<action title="Status history" action_id="history" category="object"
- condition_expr="" url_expr="string:${object_url}/content_status_history"
- visible="True">
+ condition_expr="" icon_expr="" link_target=""
+ url_expr="string:${object_url}/content_status_history" visible="True">
<permission value="Request review"/>
<permission value="Review portal content"/>
</action>
--- /dev/null
+<?xml version="1.0"?>
+<types-tool>
+ <type id="CMF Site" filename="types/CMF_Site.xml"/>
+ <type id="Calendar"/>
+ <type id="Discussion Item"
+ filename="types/Discussion_Item.xml"/>
+ <type id="Document"/>
+ <type id="Event"/>
+ <type id="Favorite"/>
+ <type id="File"/>
+ <type id="File Slot" filename="types/File_Slot.xml"/>
+ <type id="Huge Plinn Folder"
+ filename="types/Huge_Plinn_Folder.xml"/>
+ <type id="Image Slot" filename="types/Image_Slot.xml"/>
+ <type id="Lightbox"/>
+ <type id="Link"/>
+ <type id="List Slot" filename="types/List_Slot.xml"/>
+ <type id="Mosaic Document"
+ filename="types/Mosaic_Document.xml"/>
+ <type id="News Item" filename="types/News_Item.xml"/>
+ <type id="Photo"/>
+ <type id="Plinn Document"
+ filename="types/Plinn_Document.xml"/>
+ <type id="Plinn Folder" filename="types/Plinn_Folder.xml"/>
+ <type id="Portfolio"/>
+ <type id="Spacer Slot" filename="types/Spacer_Slot.xml"/>
+ <type id="String Slot" filename="types/String_Slot.xml"/>
+ <type id="Text Slot" filename="types/Text_Slot.xml"/>
+ <type id="Topic"/>
+</types-tool>
<object name="default_workflow" meta_type="Workflow"/>
<object name="folder_workflow" meta_type="Workflow"/>
<object name="member_workflow" meta_type="Workflow"/>
+ <object name="order_workflow" meta_type="Workflow"/>
<object name="portfolio_workflow" meta_type="Workflow"/>
<bindings>
<default>
</type>
<type type_id="Discussion Item"/>
<type type_id="File Slot"/>
+ <type type_id="Huge Plinn Folder">
+ <bound-workflow workflow_id="folder_workflow"/>
+ </type>
<type type_id="Image Slot"/>
<type type_id="List Slot"/>
+ <type type_id="Order">
+ <bound-workflow workflow_id="order_workflow"/>
+ </type>
+ <type type_id="Order Folder"/>
<type type_id="Photo"/>
<type type_id="Huge Plinn Folder">
<bound-workflow workflow_id="folder_workflow"/>
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<dc-workflow workflow_id="default_workflow"
title="Plinn default workflow" description=""
state_variable="review_state"
initial_state="private" manager_bypass="False">
-
<permission>Access contents information</permission>
<permission>Change portal events</permission>
<permission>Change portal topics</permission>
<exit-transition transition_id="publish"/>
<exit-transition transition_id="reject"/>
<exit-transition transition_id="retract"/>
- <exit-transition transition_id="send_email"/>
<permission-map name="Access contents information"
- acquired="False">
- <permission-role>Contributor</permission-role>
+ acquired="True">
<permission-role>Manager</permission-role>
- <permission-role>Owner</permission-role>
- <permission-role>Reader</permission-role>
- <permission-role>Reviewer</permission-role>
</permission-map>
<permission-map name="Change portal events"
acquired="False">
<state state_id="private"
title="Non-visible and editable only by owner">
<exit-transition transition_id="direct_publish"/>
- <exit-transition transition_id="send_email"/>
<exit-transition transition_id="submit"/>
<permission-map name="Access contents information"
acquired="False">
<permission-role>Contributor</permission-role>
<permission-role>Manager</permission-role>
<permission-role>Owner</permission-role>
- <permission-role>Reader</permission-role>
</permission-map>
<permission-map name="Change portal events"
acquired="False">
<state state_id="published" title="Public">
<exit-transition transition_id="reject"/>
<exit-transition transition_id="retract"/>
- <exit-transition transition_id="send_email"/>
<permission-map name="Access contents information"
acquired="True">
- <permission-role>Anonymous</permission-role>
<permission-role>Manager</permission-role>
</permission-map>
<permission-map name="Change portal events"
before_script="" after_script="">
<description>Reviewer can directly publish content if he have de Owner role (not necessarily ownership)</description>
<action url="%(content_url)s/content_publish_form?direct:boolean=True"
- category="workflow">Publish</action>
+ category="workflow" icon="">Publish</action>
<guard>
<guard-permission>Review portal content</guard-permission>
<guard-expression>python:user.allowed(here, ['Owner'])</guard-expression>
new_state="published" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_publish_form"
- category="workflow">Publish</action>
+ category="workflow" icon="">Publish</action>
<guard>
<guard-permission>Review portal content</guard-permission>
</guard>
new_state="private" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_reject_form"
- category="workflow">Reject</action>
+ category="workflow" icon="">Reject</action>
<guard>
<guard-permission>Review portal content</guard-permission>
</guard>
new_state="private" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_retract_form"
- category="workflow">Retract</action>
+ category="workflow" icon="">Retract</action>
<guard>
<guard-permission>Request review</guard-permission>
<guard-expression>python:not(here.portal_membership.checkPermission('Review portal content', here))</guard-expression>
</guard>
</transition>
- <transition transition_id="send_email" title=""
- new_state="" trigger="USER" before_script=""
- after_script="">
- <action url="%(content_url)s/send_email_form?wfid=default_workflow"
- category="workflow">Send an email</action>
- <guard>
- <guard-permission>View</guard-permission>
- <guard-role>Member</guard-role>
- </guard>
- </transition>
<transition transition_id="submit"
title="Member requests publishing"
new_state="pending" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_submit_form"
- category="workflow">Submit</action>
+ category="workflow" icon="">Submit</action>
<guard>
<guard-permission>Request review</guard-permission>
</guard>
<worklist worklist_id="reviewer_queue" title="">
<description>Reviewer tasks</description>
<action url="%(portal_url)s/list_pending_contents"
- category="global">Pending (%(count)d)</action>
+ category="global" icon="">Pending (%(count)d)</action>
<guard>
<guard-expression>here/havePendingContents</guard-expression>
</guard>
, footer=footer)
-MailHost.send( message.encode('utf-8') )
+MailHost.send( message )
return recipients
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<dc-workflow workflow_id="folder_workflow"
title="Plinn folder workflow" description=""
state_variable="review_state"
initial_state="private" manager_bypass="False">
-
<permission>Manage properties</permission>
<permission>Modify portal content</permission>
<permission>View</permission>
<exit-transition transition_id="publish"/>
<exit-transition transition_id="reject"/>
<exit-transition transition_id="retract"/>
- <exit-transition transition_id="send_email"/>
<permission-map name="Manage properties" acquired="False">
<permission-role>Manager</permission-role>
<permission-role>Reviewer</permission-role>
</state>
<state state_id="private" title="">
<exit-transition transition_id="direct_publish"/>
- <exit-transition transition_id="send_email"/>
<exit-transition transition_id="submit"/>
<permission-map name="Manage properties" acquired="False">
<permission-role>Contributor</permission-role>
<state state_id="published" title="">
<exit-transition transition_id="reject"/>
<exit-transition transition_id="retract"/>
- <exit-transition transition_id="send_email"/>
<permission-map name="Manage properties" acquired="False">
<permission-role>Manager</permission-role>
</permission-map>
before_script="" after_script="">
<description>Reviewer can directly publish content if he have de Owner role (not necessarily ownership)</description>
<action url="%(content_url)s/content_publish_form?direct:boolean=True"
- category="workflow">Publish</action>
+ category="workflow" icon="">Publish</action>
<guard>
<guard-permission>Review portal content</guard-permission>
<guard-expression>python:user.allowed(here, ['Owner'])</guard-expression>
new_state="published" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_publish_form"
- category="workflow">Publish</action>
+ category="workflow" icon="">Publish</action>
<guard>
<guard-permission>Review portal content</guard-permission>
</guard>
new_state="private" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_reject_form"
- category="workflow">Reject</action>
+ category="workflow" icon="">Reject</action>
<guard>
<guard-permission>Review portal content</guard-permission>
</guard>
new_state="private" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_retract_form"
- category="workflow">Retract</action>
+ category="workflow" icon="">Retract</action>
<guard>
<guard-permission>Request review</guard-permission>
<guard-expression>python:not(here.portal_membership.checkPermission('Review portal content', here))</guard-expression>
</guard>
</transition>
- <transition transition_id="send_email" title=""
- new_state="" trigger="USER" before_script=""
- after_script="">
- <action url="%(content_url)s/send_email_form?wfid=folder_workflow"
- category="workflow">Send an email</action>
- <guard>
- <guard-permission>View</guard-permission>
- <guard-role>Member</guard-role>
- </guard>
- </transition>
<transition transition_id="submit"
title="Member requests publishing"
new_state="pending" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_submit_form"
- category="workflow">Submit</action>
+ category="workflow" icon="">Submit</action>
<guard>
<guard-permission>Request review</guard-permission>
</guard>
, footer=footer)
-MailHost.send( message.encode('utf-8') )
+MailHost.send( message )
return recipients
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<dc-workflow workflow_id="member_workflow"
title="Plinn member registration workflow"
description="" state_variable="review_state"
initial_state="m_initial"
manager_bypass="False">
-
<state state_id="m_initial" title="">
<exit-transition transition_id="create"/>
<exit-transition transition_id="silent_register"/>
<worklist worklist_id="reviewer_queue" title="">
<description>Reviewer tasks</description>
<action url="%(portal_url)s/pending_members"
- category="global">Membres en attente (%(count)d)</action>
+ category="global" icon="">Membres en attente (%(count)d)</action>
<guard>
<guard-permission>Set Member Properties</guard-permission>
</guard>
, body= body
)
-MailHost.send( message.encode('utf-8') )
+MailHost.send( message )
)
-MailHost.send( message.encode('utf-8') )
+MailHost.send( message )
if portal.getProperty('validate_email') :
rtool.mailPassword(member.getId(), context.REQUEST)
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<dc-workflow workflow_id="order_workflow"
+ title="Order workflow" description=""
+ state_variable="review_state"
+ initial_state="recorded" manager_bypass="False">
+ <instance-creation-conditions>
+ <guard>
+ <guard-role>Authenticated</guard-role>
+ </guard>
+ </instance-creation-conditions>
+ <permission>Access contents information</permission>
+ <permission>Delete Owned Objects</permission>
+ <permission>Manage properties</permission>
+ <permission>Modify portal content</permission>
+ <permission>View</permission>
+ <state state_id="canceled" title="">
+ <permission-map name="Access contents information"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ <permission-map name="Delete Owned Objects"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Manage properties" acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Modify portal content"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="View" acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ </state>
+ <state state_id="done" title="">
+ <exit-transition transition_id="notify_sent"/>
+ <permission-map name="Access contents information"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ <permission-map name="Delete Owned Objects"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Manage properties" acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Modify portal content"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="View" acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ </state>
+ <state state_id="paid" title="">
+ <exit-transition transition_id="get_printing_list"/>
+ <exit-transition transition_id="notify_done"/>
+ <permission-map name="Access contents information"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ <permission-map name="Delete Owned Objects"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Manage properties" acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Modify portal content"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="View" acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ </state>
+ <state state_id="recorded" title="">
+ <exit-transition transition_id="cancel"/>
+ <exit-transition transition_id="manual_payment"/>
+ <exit-transition transition_id="paypal_pay"/>
+ <permission-map name="Access contents information"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ <permission-map name="Delete Owned Objects"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Manage properties" acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ <permission-map name="Modify portal content"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ <permission-map name="View" acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ </state>
+ <state state_id="refused" title="">
+ <permission-map name="Access contents information"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ <permission-map name="Delete Owned Objects"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Manage properties" acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Modify portal content"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="View" acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ </state>
+ <state state_id="sent" title="">
+ <permission-map name="Access contents information"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ <permission-map name="Delete Owned Objects"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Manage properties" acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Modify portal content"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="View" acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ </state>
+ <transition transition_id="cancel" title=""
+ new_state="canceled" trigger="USER"
+ before_script="" after_script="relistCopies">
+ <action url="%(content_url)s/order_cancel_form"
+ category="workflow" icon="">Cancel</action>
+ <guard>
+ <guard-permission>Manage print orders</guard-permission>
+ </guard>
+ </transition>
+ <transition transition_id="get_printing_list" title=""
+ new_state="" trigger="USER" before_script=""
+ after_script="">
+ <action url="%(object_url)s/order_printing_list"
+ category="workflow" icon="">Printing list</action>
+ <guard>
+ <guard-permission>Manage print orders</guard-permission>
+ </guard>
+ </transition>
+ <transition transition_id="manual_payment" title=""
+ new_state="paid" trigger="USER"
+ before_script="" after_script="">
+ <action url="%(content_url)s/order_manual_payment_form"
+ category="workflow" icon="">Manual payment</action>
+ <guard>
+ <guard-permission>Manage print orders</guard-permission>
+ </guard>
+ </transition>
+ <transition transition_id="notify_done" title=""
+ new_state="done" trigger="USER"
+ before_script="" after_script="">
+ <action url="%(content_url)s/order_notify_done_form"
+ category="workflow" icon="">Notify done</action>
+ <guard>
+ <guard-permission>Manage print orders</guard-permission>
+ </guard>
+ </transition>
+ <transition transition_id="notify_sent" title=""
+ new_state="sent" trigger="USER"
+ before_script="" after_script="">
+ <action url="%(content_url)s/order_notify_sent_form"
+ category="workflow" icon="">Notify sent</action>
+ <guard>
+ <guard-permission>Manage print orders</guard-permission>
+ </guard>
+ </transition>
+ <transition transition_id="paypal_pay" title=""
+ new_state="paid" trigger="USER"
+ before_script="" after_script="">
+
+ <guard>
+ <guard-role>Owner</guard-role>
+ </guard>
+ </transition>
+ <variable variable_id="action" for_catalog="False"
+ for_status="True" update_always="True">
+ <description>The last transition</description>
+ <default>
+
+ <expression>transition/getId|nothing</expression>
+ </default>
+ <guard>
+ </guard>
+ </variable>
+ <variable variable_id="actor" for_catalog="False"
+ for_status="True" update_always="True">
+ <description>The ID of the user who performed the last transition</description>
+ <default>
+
+ <expression>user/getId</expression>
+ </default>
+ <guard>
+ </guard>
+ </variable>
+ <variable variable_id="comments" for_catalog="False"
+ for_status="True" update_always="True">
+ <description>Comments about the last transition</description>
+ <default>
+
+ <expression>python:state_change.kwargs.get('comment', '')</expression>
+ </default>
+ <guard>
+ </guard>
+ </variable>
+ <variable variable_id="email_sent" for_catalog="False"
+ for_status="True" update_always="True">
+ <default>
+
+ <expression>python:scripts.sendNotificationEmail(state_change) or state_change.kwargs.get('email_sent', [])</expression>
+ </default>
+ <guard>
+ </guard>
+ </variable>
+ <variable variable_id="review_history" for_catalog="False"
+ for_status="False" update_always="False">
+ <description>Provides access to workflow history</description>
+ <default>
+
+ <expression>state_change/getHistory</expression>
+ </default>
+ <guard>
+ <guard-permission>Request review</guard-permission>
+ <guard-permission>Review portal content</guard-permission>
+ </guard>
+ </variable>
+ <variable variable_id="time" for_catalog="False"
+ for_status="True" update_always="True">
+ <description>Time of the last transition</description>
+ <default>
+
+ <expression>state_change/getDateTime</expression>
+ </default>
+ <guard>
+ </guard>
+ </variable>
+ <variable variable_id="tracking_number" for_catalog="False"
+ for_status="True" update_always="False">
+ <default>
+
+
+ </default>
+ <guard>
+ </guard>
+ </variable>
+ <variable variable_id="tracking_url" for_catalog="False"
+ for_status="True" update_always="False">
+ <default>
+
+
+ </default>
+ <guard>
+ </guard>
+ </variable>
+ <script script_id="relistCopies" type="Script (Python)"
+ filename="workflows/order_workflow/scripts/relistCopies.py"
+ module="" function=""/>
+ <script script_id="sendNotificationEmail"
+ type="Script (Python)"
+ filename="workflows/order_workflow/scripts/sendNotificationEmail.py"
+ module="" function=""/>
+</dc-workflow>
--- /dev/null
+## Script (Python) "relistCopies"
+##bind container=container
+##bind context=context
+##bind namespace=
+##bind script=script
+##bind subpath=traverse_subpath
+##parameters=sci
+##title=
+##
+sci.object.resetCopiesCounters()
--- /dev/null
+## Script (Python) "sendNotificationEmail"
+##bind container=container
+##bind context=context
+##bind namespace=
+##bind script=script
+##bind subpath=traverse_subpath
+##parameters=sci
+##title=
+##
+from Products.photoprint.utils import translate
+_ = lambda msg : translate(msg, context)
+portal = context.portal_url.getPortalObject()
+
+mtool = portal.portal_membership
+
+recipients = sci.kwargs.get('recipients', [])
+if not recipients :
+ return []
+
+
+MailHost = portal.MailHost
+from quopri import encodestring
+
+def encodeAdr(member) :
+ name = member.getMemberFullName(nameBefore=0)
+ email = member.getProperty('email')
+ qpName = encodestring(name).replace('=\n', '')
+ return '''"=?utf-8?q?%s?=" <%s>''' % (qpName, email)
+
+
+object = sci.object
+
+sender = mtool.getAuthenticatedMember()
+sender = encodeAdr(sender)
+
+recipientsFormated = map(encodeAdr, mtool.getMembers( recipients ))
+mto = ', '.join(recipientsFormated)
+if mto[-2:] == ', ' :
+ mto = mto[:-2]
+
+subject = sci.kwargs.get('subject', '')
+
+body = []
+pr = body.append
+pr(sci.kwargs.get('comment', ''))
+
+pr('')
+
+trNumber = sci.kwargs.get('tracking_number', '')
+if trNumber :
+ pr(_('Tracking number').encode('utf-8') + ' ' + trNumber)
+
+trUrl = sci.kwargs.get('tracking_url', '')
+if trUrl :
+ pr(_('Tracking url').encode('utf-8') + ' ' + trUrl)
+
+body = '\n'.join(body)
+
+
+
+message = context.echange_mail_template( From = sender
+ , To = mto
+ , Subject = "=?utf-8?q?%s?=" % encodestring(subject).replace('=\n', '')
+ , ContentType = 'text/plain'
+ , charset = 'UTF-8'
+ , body=body
+ )
+
+
+MailHost.send( message.encode('utf-8') )
+
+return recipients
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<dc-workflow workflow_id="portfolio_workflow"
title="Plinn folder workflow" description=""
state_variable="review_state"
initial_state="private" manager_bypass="False">
-
<permission>Add portal content</permission>
<permission>Change Images and Files</permission>
<permission>Delete Owned Objects</permission>
</permission-map>
<permission-map name="View" acquired="False">
<permission-role>Contributor</permission-role>
+ <permission-role>Downloader</permission-role>
<permission-role>Manager</permission-role>
<permission-role>Owner</permission-role>
<permission-role>Reader</permission-role>
</permission-map>
<permission-map name="View" acquired="False">
<permission-role>Contributor</permission-role>
+ <permission-role>Downloader</permission-role>
<permission-role>Manager</permission-role>
<permission-role>Owner</permission-role>
<permission-role>Reader</permission-role>
before_script="" after_script="">
<description>Reviewer can directly publish content if he have de Owner role (not necessarily ownership)</description>
<action url="%(content_url)s/content_publish_form?direct:boolean=True"
- category="workflow">Publish</action>
+ category="workflow" icon="">Publish</action>
<guard>
<guard-permission>Review portal content</guard-permission>
<guard-expression>python:user.allowed(here, ['Owner'])</guard-expression>
new_state="published" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_publish_form"
- category="workflow">Publish</action>
+ category="workflow" icon="">Publish</action>
<guard>
<guard-permission>Review portal content</guard-permission>
</guard>
new_state="private" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_reject_form"
- category="workflow">Reject</action>
+ category="workflow" icon="">Reject</action>
<guard>
<guard-permission>Review portal content</guard-permission>
</guard>
new_state="private" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_retract_form"
- category="workflow">Retract</action>
+ category="workflow" icon="">Retract</action>
<guard>
<guard-permission>Request review</guard-permission>
<guard-expression>python:not(here.portal_membership.checkPermission('Review portal content', here))</guard-expression>
new_state="pending" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_submit_form"
- category="workflow">Submit</action>
+ category="workflow" icon="">Submit</action>
<guard>
<guard-permission>Request review</guard-permission>
</guard>
, footer=footer)
-MailHost.send( message.encode('utf-8') )
+MailHost.send( message )
return recipients