[opencms-dev] Module with new structured content type

Jonathan Woods jonathan.woods at scintillance.com
Sat Dec 2 16:33:54 CET 2006


You'd get an error, and there's no automatic handling for this condition.
 
Jon

  _____  

From: sfdbfoui at host2.scintillance.com
[mailto:sfdbfoui at host2.scintillance.com] On Behalf Of Andy Bicksbo
Sent: 02 December 2006 15:31
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Module with new structured content type


Hi
 
I have another question concerning this. 
So if i register a new structurd content with the id say 60, export the
complete module and import it on an unknown opencms system.
So what happens when at the new system this id 60 already exists. Is there a
handling for this provided? or will i get an error at next container startup
when this id already exitsts?
 
Andy 

 
2006/12/1, Andy Bicksbo <schlachtzeuger at gmail.com>: 

Thanks very mauch, that helps a lot


2006/12/1, Carl Alex Friis Nielsen <cfn at kb.dk>: 


From: opencms-dev-bounces at opencms.org@KB On Behalf Of "Andy Bicksbo" <
<mailto:schlachtzeuger at gmail.com> 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

_______________________________________________ 
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
<http://lists.opencms.org/mailman/listinfo/opencms-dev> 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20061202/7620d0b8/attachment.htm>


More information about the opencms-dev mailing list