[opencms-dev] copyresources as sibling?[Scanned]

Jon Mayes jon.mayes at pegasus-homes.co.uk
Wed Apr 19 13:12:56 CEST 2006


Awesome, thanks a lot, Jon!

 

________________________________

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jonathan Woods
Sent: 25 March 2006 03:31
To: 'The OpenCms mailing list'
Subject: RE: [opencms-dev] copyresources as sibling?[Scanned]

 

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 
 
Jon Mayes
Marketing & Business Systems
Pegasus Retirement Homes plc
Tel: 
Fax: 
Email: jon.mayes at pegasus-homes.co.uk 
 
For more information on Pegasus please visit our web site at www.pegasus-homes.co.uk 

 
Privileged/Confidential information may be contained in this message.  If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone.  In such case, you should destroy this message and kindly notify the sender by reply email.  Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of my firm shall be understood as neither given nor endorsed by it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060419/5eba7c8e/attachment.htm>


More information about the opencms-dev mailing list