Hi I would like to use custom node types. I register them as follows: //module cunstructor public MyModule() { init(); }
public static void init() { log.info("Starting module init"); Provider provider = ContentRepository.getRepositoryProvider(WORKSPACE); try { provider.registerNamespace(PREFIX, NAMESPACE, MgnlContext.getHierarchyManager(WORKSPACE).getWorkspace()); provider.registerNodeTypes(NODES_PATH); //xml containing the node types } catch (RepositoryException e) { log.error("Could not load node types: " + e.getClass() + " "+ e.getMessage()); } log.info("Finished module init"); } The problem is that I can't bootstrap content that uses these node types. I suppose that the bootstrapping happens before the node types are imported. Where do I have to put this code so I could bootstrap content? Thanks Attila ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------