create a file named "treemanager-contribution-config.xml" and drop it in
"nuxeo.ear/config" with this content:
{code}
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.virtualtree.config">
<require>org.nuxeo.ecm.virtualnavigation.directory.DirectoryTreeService.contrib</require>
<extension target="org.nuxeo.ecm.webapp.directory.DirectoryTreeService"
point="trees">
<directoryTree name="bySubjectsNavigation" enabled="false" />
<directoryTree name="byCoverageNavigation" enabled="false" />
</extension>
</component>
{code}
In this same file you can add a contribution to have the tree use your own
directories, have a look at:
http://hg.nuxeo.org/nuxeo/nuxeo-features/file/c07517debbdb/nuxeo-platform-virtualnavigation/nuxeo-platform-virtualnavigation-web/src/main/resources/OSGI-INF/directorytreemanager-contrib.xml
to see how it is done.
--
Posted by "arussel" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=3193#9495>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm