1c1a5d8a37570507476db47a8ada57a478dafb92
2 <object name=
"Portfolio" meta_type=
"Factory-based Type Information"
3 xmlns:
i18n=
"http://xml.zope.org/namespaces/i18n">
4 <property name=
"title">Album photo
</property>
5 <property name=
"description">Folder for photo storage
</property>
6 <property name=
"content_icon">portfolio_icon.gif
</property>
7 <property name=
"content_meta_type">Portfolio
</property>
8 <property name=
"product">Portfolio
</property>
9 <property name=
"factory">addPortfolio
</property>
10 <property name=
"immediate_view">portfolio_view
</property>
11 <property name=
"global_allow">True
</property>
12 <property name=
"filter_content_types">True
</property>
13 <property name=
"allowed_content_types">
14 <element value=
"Photo"/>
15 <element value=
"Portfolio"/>
17 <property name=
"allow_discussion">True
</property>
18 <alias from=
"(Default)" to=
"portfolio_view"/>
19 <alias from=
"mkdir" to=
"createPortfolio"/>
20 <alias from=
"view" to=
"portfolio_view"/>
21 <action title=
"View" action_id=
"view" category=
"object" condition_expr=
""
22 url_expr=
"string:${object_url}/portfolio_view" visible=
"True">
23 <permission value=
"View"/>
25 <action title=
"Export as zip" action_id=
"noajax" category=
"object"
26 condition_expr=
"python:object.listNearestFolderContents(contentFilter={'portal_type' : 'Photo'})"
27 url_expr=
"string:${object_url}/exportAsZipFile" visible=
"True">
28 <permission value=
"View"/>
30 <action title=
"List" action_id=
"folderContents" category=
"object"
31 condition_expr=
"" url_expr=
"string:${object_url}/folder_contents"
33 <permission value=
"Manage properties"/>
35 <action title=
"Import" action_id=
"import" category=
"object" condition_expr=
""
36 url_expr=
"string:${object_url}/portfolio_edit_form" visible=
"True">
37 <permission value=
"Add portal content"/>
39 <action title=
"Share" action_id=
"localroles" category=
"object"
40 condition_expr=
"" url_expr=
"string:${object_url}/folder_localrole_form"
42 <permission value=
"Set Local Roles"/>
44 <action title=
"Edit" action_id=
"edit" category=
"object" condition_expr=
""
45 url_expr=
"string:${object_url}/folder_contents" visible=
"False">
46 <permission value=
"Manage properties"/>
48 <action title=
"New..." action_id=
"new" category=
"object" condition_expr=
""
49 url_expr=
"string:${object_url}/folder_factories" visible=
"False">
50 <permission value=
"Add portal content"/>
52 <action title=
"Rename items" action_id=
"rename_items" category=
"object"
53 condition_expr=
"" url_expr=
"string:${object_url}/folder_rename_form"
55 <permission value=
"Add portal content"/>
57 <action title=
"mkdir" action_id=
"mkdir" category=
"object" condition_expr=
""
58 url_expr=
"string:createPortfolio" visible=
"False">
59 <permission value=
"Add portal content"/>