[opencms-dev] Module with new structured content type

Andy Bicksbo schlachtzeuger at gmail.com
Sat Dec 2 18:13:33 CET 2006


Do i only get an error and opencms is running or do i get an error and
opencms is not able to startup?
Do you know a solution for this issue?
Is there something provided by opencms to check all ids at startup
and update a type id at startup ?

thanx a lot
Andy


2006/12/2, Jonathan Woods <jonathan.woods at scintillance.com>:
>
>  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" <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
> > >
> >
> >
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20061202/9a4d6130/attachment.htm>


More information about the opencms-dev mailing list