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"/>
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"
26 <permission value=
"View"/>
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"
32 <permission value=
"View"/>
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"
38 <permission value=
"Modify portal content"/>
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=
"List folder contents"/>
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"/>
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"
54 <permission value=
"Manage print order template"/>
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"/>
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"/>
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"/>
71 <action title=
"mkdir" action_id=
"mkdir" category=
"object" condition_expr=
""
72 icon_expr=
"" link_target=
"" url_expr=
"string:createPortfolio"
74 <permission value=
"Add portal content"/>