Skip to content

Commit

Permalink
Add empty registry ; remove p.a.theming dep
Browse files Browse the repository at this point in the history
  • Loading branch information
aclark4life committed Aug 26, 2013
1 parent 00de78c commit ede69a4
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpi/asthma_files_site/profiles/default/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<metadata>
<version>1</version>
<dependencies>
<!--
<dependency>profile-plone.app.theming:default</dependency>
-->
<dependency>profile-collective.cover:default</dependency>
</dependencies>
</metadata>
39 changes: 39 additions & 0 deletions rpi/asthma_files_site/profiles/default/registry.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<registry>
<!-- Catch 22: We'd like to customize the available types for Cover, but they don't exist until we install ourselves first. -->
<!--
<record name="collective.cover.controlpanel.ICoverSettings.searchable_content_types" interface="collective.cover.controlpanel.ICoverSettings" field="searchable_content_types">
<field type="plone.registry.field.List">
<default>
<element>Collection</element>
<element>Document</element>
<element>File</element>
<element>Form Folder</element>
<element>Image</element>
<element>Link</element>
<element>News Item</element>
</default>
<description>Only objects of these content types will be searched on the content chooser.</description>
<required>False</required>
<title>Searchable Content Types</title>
<value_type type="plone.registry.field.Choice">
<vocabulary>collective.cover.AvailableContentTypes</vocabulary>
</value_type>
</field>
<value>
<element>Collection</element>
<element>Document</element>
<element>File</element>
<element>Image</element>
<element>Link</element>
<element>News Item</element>
<element>annotation</element>
<element>audio_artifact</element>
<element>document_artifact</element>
<element>image_artifact</element>
<element>video_artifact</element>
<element>asthma_file</element>
<element>question</element>
</value>
</record>
-->
</registry>

0 comments on commit ede69a4

Please sign in to comment.