[opencms-dev] controlcode & XML template modules

Gianluca Cassina gcassina at etnoteam.it
Thu Jun 1 07:29:36 CEST 2006


You need to add the new resource description in
WEB-INF/config/opencms-modules.xml. There’s an howto here:
http://www.opencms-forum.de/viewtopic.php?t=625, but you have to substitute
opnemcs-vfs with opencms-modules

 

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Chris Tiernan
Sent: giovedì 1 giugno 2006 2.21
To: The OpenCms mailing list
Subject: RE: [opencms-dev] controlcode & XML template modules

 

Gottcha.  It seems that I can’t register or create a new XML content type.
I’ve created the  XSD file, my XML content file, and the template, but it
seems that it does not does create the XML content type under the “New >
Structured content” area.  How do I ‘register’ that content type with
OpenCms?

Ciao

            Gianluca

 

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jonathan Woods
Sent: Wednesday, May 24, 2006 11:29 AM
To: 'The OpenCms mailing list'
Subject: RE: [opencms-dev] controlcode & XML template modules

 

If I understand you correctly and you're talking about custom XML content
types, then yes - OpenCms should be able to generate document instances
automatically, e.g. when clicking on a direct edit 'new' button or when
creating a new resource of the XML content type.  The document instance
includes all mandatory elements with empty contents (I think).

 

Jon

 

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Chris Tiernan
Sent: 24 May 2006 18:51
To: opencms-dev at opencms.org
Subject: [opencms-dev] controlcode & XML template modules

Does anybody know if the controlcode for a custom XML template module is
supposed to be generated by the OpenCms system?  I have to keep creating a
base controlcode XML file for the system to work, which seems odd.  Thanks!

 

Best,

Chris

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


More information about the opencms-dev mailing list