[opencms-dev] copyresources as sibling?

Jonathan Woods jonathan.woods at scintillance.com
Sat Mar 25 04:30:55 CET 2006


Jon -
 
The DTD for opencms-resourcetypes.xml says...
 
<!--
# The <copy-resources> node of a resource type subnode describes resources
that are 
# to be copied when a resource of this type is created.<p>
--> 
 
<!ELEMENT copy-resources (copy-resource*)>
<!ELEMENT copy-resource EMPTY>
<!ATTLIST copy-resource source CDATA #REQUIRED target CDATA #IMPLIED type
(new|sibling|preserve) #IMPLIED>
 
so I would have thought that using a <copy-resource type="sibling" ...>
might do what you're looking for.
 
Jon

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christian Steinert
Sent: 24 March 2006 22:15
To: The OpenCms mailing list
Subject: Re: [opencms-dev] copyresources as sibling?


Jon Mayes schrieb: 

Hi guys, 

  

Is there a way to force certain copyresources to be created as siblings?
Either through defining a property on the files, or through the
opencms-modules definitions? 

  


No, I don't think so.
The user gets to chose, whether they copy or link

Christian

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


More information about the opencms-dev mailing list