|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<object xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
| 3 | + meta_type="Dexterity FTI" |
| 4 | + name="Sponsor" |
| 5 | + i18n:domain="tagung.plone.de" |
| 6 | +> |
| 7 | + |
| 8 | + <!-- Basic properties --> |
| 9 | + <property name="title" |
| 10 | + i18n:translate="" |
| 11 | + >Sponsor</property> |
| 12 | + <property name="description" |
| 13 | + i18n:translate="" |
| 14 | + >A Sponsor Content-Type</property> |
| 15 | + |
| 16 | + <property name="allow_discussion">False</property> |
| 17 | + <property name="factory">Sponsor</property> |
| 18 | + <property name="icon_expr">string:puzzle</property> |
| 19 | + <property name="link_target" /> |
| 20 | + |
| 21 | + <!-- Hierarchy control --> |
| 22 | + <property name="global_allow">True</property> |
| 23 | + <property name="filter_content_types">True</property> |
| 24 | + <property name="allowed_content_types"> |
| 25 | + <!-- |
| 26 | + <element value="Document" /> |
| 27 | + <element value="File" /> |
| 28 | + --> |
| 29 | + </property> |
| 30 | + <!-- Schema, class and security --> |
| 31 | + <property name="add_permission">tagung.plone.de.AddSponsor</property> |
| 32 | + <property name="klass">tagung.plone.de.content.sponsor.Sponsor</property> |
| 33 | + <property name="model_file" /> |
| 34 | + <property name="model_source" /> |
| 35 | + <property name="schema">tagung.plone.de.content.sponsor.ISponsor</property> |
| 36 | + |
| 37 | + <!-- Enabled behaviors --> |
| 38 | + <property name="behaviors" |
| 39 | + purge="false" |
| 40 | + > |
| 41 | + <!-- Details about all standard behaviors following can be read at |
| 42 | + https://docs.plone.org/external/plone.app.dexterity/docs/reference/standard-behaviours.html |
| 43 | + --> |
| 44 | + <element value="plone.basic" /> |
| 45 | + <element value="plone.namefromtitle" /> |
| 46 | + <element value="plone.allowdiscussion" /> |
| 47 | + <element value="plone.excludefromnavigation" /> |
| 48 | + <element value="plone.shortname" /> |
| 49 | + <element value="plone.ownership" /> |
| 50 | + <element value="plone.publication" /> |
| 51 | + <element value="plone.categorization" /> |
| 52 | + <element value="plone.locking" /> |
| 53 | + <!--<element value="plone.leadimage"/>--> |
| 54 | + <!--<element value="plone.relateditems"/>--> |
| 55 | + <!--<element value="plone.richtext"/>--> |
| 56 | + <!--<element value="plone.tableofcontents"/>--> |
| 57 | + <!--<element value="plone.versioning" />--> |
| 58 | + <!--<element value="plone.translatable" />--> |
| 59 | + <!--<element value="plone.nextprevioustoggle" />--> |
| 60 | + <!--<element value="plone.nextpreviousenabled" />--> |
| 61 | + <!--<element value="plone.navigationroot" />--> |
| 62 | + <!--<element value="plone.selectablecontrainstypes" />--> |
| 63 | + </property> |
| 64 | + |
| 65 | + <!-- View information --> |
| 66 | + <property name="add_view_expr">string:${folder_url}/++add++Sponsor</property> |
| 67 | + <property name="default_view">view</property> |
| 68 | + <property name="default_view_fallback">False</property> |
| 69 | + <property name="immediate_view">view</property> |
| 70 | + <property name="view_methods"> |
| 71 | + <element value="view" /> |
| 72 | + </property> |
| 73 | + |
| 74 | + <!-- Method aliases --> |
| 75 | + <alias from="(Default)" |
| 76 | + to="(dynamic view)" |
| 77 | + /> |
| 78 | + <alias from="edit" |
| 79 | + to="@@edit" |
| 80 | + /> |
| 81 | + <alias from="sharing" |
| 82 | + to="@@sharing" |
| 83 | + /> |
| 84 | + <alias from="view" |
| 85 | + to="(selected layout)" |
| 86 | + /> |
| 87 | + |
| 88 | + <!-- Actions --> |
| 89 | + <action action_id="view" |
| 90 | + category="object" |
| 91 | + condition_expr="" |
| 92 | + icon_expr="string:toolbar-action/view" |
| 93 | + title="View" |
| 94 | + url_expr="string:${object_url}" |
| 95 | + visible="True" |
| 96 | + i18n:attributes="title" |
| 97 | + i18n:domain="plone" |
| 98 | + > |
| 99 | + <permission value="View" /> |
| 100 | + </action> |
| 101 | + <action action_id="edit" |
| 102 | + category="object" |
| 103 | + condition_expr="not:object/@@plone_lock_info/is_locked_for_current_user|python:True" |
| 104 | + icon_expr="string:toolbar-action/edit" |
| 105 | + title="Edit" |
| 106 | + url_expr="string:${object_url}/edit" |
| 107 | + visible="True" |
| 108 | + i18n:attributes="title" |
| 109 | + i18n:domain="plone" |
| 110 | + > |
| 111 | + <permission value="Modify portal content" /> |
| 112 | + </action> |
| 113 | + |
| 114 | +</object> |
0 commit comments