Déplacement pour eggification.
[Plinn.git] / Products / Plinn / profiles / photo / types / Portfolio.xml
1 <?xml version="1.0"?>
2 <object name="Portfolio" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">Collection</property>
5 <property name="description">Folder for photo storage</property>
6 <property name="icon_expr">string:${portal_url}/portfolio_icon.gif</property>
7 <property name="content_meta_type">Portfolio</property>
8 <property name="product"></property>
9 <property name="factory">portfolio.portfolio</property>
10 <property name="add_view_expr"></property>
11 <property name="link_target"></property>
12 <property name="immediate_view">object/view</property>
13 <property name="global_allow">True</property>
14 <property name="filter_content_types">True</property>
15 <property name="allowed_content_types">
16 <element value="Photo"/>
17 <element value="Portfolio"/>
18 </property>
19 <property name="allow_discussion">False</property>
20 <alias from="(Default)" to="portfolio_view"/>
21 <alias from="mkdir" to="createPortfolio"/>
22 <alias from="view" to="portfolio_view"/>
23 <action title="View" action_id="view" category="object" condition_expr=""
24 icon_expr="" link_target="" url_expr="string:${object_url}/portfolio_view"
25 visible="True">
26 <permission value="View"/>
27 </action>
28 <action title="Slide show" action_id="noajax" category="object"
29 condition_expr="python:object.listNearestFolderContents(contentFilter={'portal_type' : 'Photo'})"
30 icon_expr="" link_target="" url_expr="string:${object_url}/slide_show"
31 visible="False">
32 <permission value="View"/>
33 </action>
34 <action title="Presentation" action_id="presentation" category="object"
35 condition_expr="" icon_expr="" link_target=""
36 url_expr="string:${object_url}/portfolio_presentation_form"
37 visible="True">
38 <permission value="Modify portal content"/>
39 </action>
40 <action title="List" action_id="folderContents" category="object"
41 condition_expr="" icon_expr="" link_target=""
42 url_expr="string:${object_url}/folder_contents" visible="True">
43 <permission value="Modify portal content"/>
44 </action>
45 <action title="Share" action_id="localroles" category="object"
46 condition_expr="" icon_expr="" link_target=""
47 url_expr="string:${object_url}/folder_localrole_form" visible="True">
48 <permission value="Set Local Roles"/>
49 </action>
50 <action title="Printing settings" action_id="printing_settings"
51 category="object" condition_expr="" icon_expr="" link_target=""
52 url_expr="string:${object_url}/photoprint_templates_edit_form"
53 visible="True">
54 <permission value="Manage print order template"/>
55 </action>
56 <action title="Edit" action_id="edit" category="object" condition_expr=""
57 icon_expr="" link_target=""
58 url_expr="string:${object_url}/folder_contents" visible="False">
59 <permission value="Manage properties"/>
60 </action>
61 <action title="New..." action_id="new" category="object" condition_expr=""
62 icon_expr="" link_target=""
63 url_expr="string:${object_url}/folder_factories" visible="False">
64 <permission value="Add portal content"/>
65 </action>
66 <action title="Rename items" action_id="rename_items" category="object"
67 condition_expr="" icon_expr="" link_target=""
68 url_expr="string:${object_url}/folder_rename_form" visible="False">
69 <permission value="Add portal content"/>
70 </action>
71 <action title="mkdir" action_id="mkdir" category="object" condition_expr=""
72 icon_expr="" link_target="" url_expr="string:createPortfolio"
73 visible="False">
74 <permission value="Add portal content"/>
75 </action>
76 </object>