Thanks, but this seems to work only with MailFolder, the other types keep being 
shown. These are the files I used:

dc-contrib.xml

<?xml version="1.0"?>
<component name="com.ao.ui.testtypes">

        <require>org.nuxeo.ecm.platform.types</require>
        
        <extension target="org.nuxeo.ecm.platform.types.TypeService" 
point="types">
                
                <type id="MailFolder" remove="true" />
                <type id="BlogSite" remove="true" />
                <type id="Forum" remove="true" />
                <type id="Picture" remove="true" />
                <type id="Workspace">
                        <deniedSubtypes>
                                <type>MailFolder</type>
                                <type>Picture</type>
                                <type>BlogSite</type>
                                <type>Forum</type>
                        </deniedSubtypes>
                        <subtypes>
                                <type>FolderBio</type>
                        </subtypes>
                </type>

        </extension>
        
</component>


Manifest:

Require-Bundle: org.nuxeo.runtime,
 org.nuxeo.ecm.core,
 org.nuxeo.ecm.core.api,
 org.nuxeo.ecm.core.schema,
 org.nuxeo.ecm.webapp.core
Nuxeo-Component: OSGI-INF/schema-contrib.xml,
 OSGI-INF/doctype-contrib.xml,
 OSGI-INF/layouts/layout-dc-contrib.xml,
...
 OSGI-INF/layouts/layout-publicationDoc-contrib.xml,
 OSGI-INF/uis/ui-contrib.xml,
 OSGI-INF/uis/dc-contrib.xml
--
Posted by "aldago" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=3344#10100>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to