[opencms-dev] Module with new structured content type

Carl Alex Friis Nielsen cfn at kb.dk
Fri Dec 1 08:08:51 CET 2006


From: opencms-dev-bounces at opencms.org@KB On Behalf Of "Andy Bicksbo" <schlachtzeuger at gmail.com>

> If i want to create a new structured content type i have to register it in opencms-
> modules.xml. How to do this is very clear to me.
> But how do I have to set up a new Module, that new structred content
> types get registeres in the opencms-modules.xml for that module at install?

First you have to insert the registration in some existing module
(you can create a new one for it)

Then when you export that module the registration info in opencms-modules.xml
is exported as part of the module and when you import that module the registration
info will be added to the opencms-modules.xml file of the new cms instance.

Cheers,

Carl



More information about the opencms-dev mailing list