[opencms-dev] publish resourceb.html when resourcea.html is published

Marc Johnen opencms at johnen.biz
Wed Jul 15 13:58:00 CEST 2009


Thank you Achim. With the right keywords you mentioned I found
a nice tutorial on
http://pomegranate.de:9000/cms/forum/viewthread?thread=119
and defined a relation in my xsd.
Greetings
Marc Johnen


a.westermann at alkacon.com wrote:
> 
> Hi John,
> 
> ideally your recourcea.html is an XML content that has a field 
> "SOMELINK" of type OpenCmsVfsFile (or a configured relation in the 
> layouts section of the xsd).
> 
> In that example an editor would open resourcea.html, click the folder 
> symbol, get a popup to select the target resourceb.html. Behind the 
> scenes OpenCms would store a relation from resourcea.html to 
> resourceb.html. When publishing the option "publish with related 
> resources" then would do what you want.
> 
> Kind Regards,
> Achim.
> 
> -------------------
> Achim Westermann
> 
> Alkacon Software GmbH  - The OpenCms Experts
> http://www.alkacon.com - http://www.opencms.org
> 
> 
> 
> Marc Johnen wrote:
>> Hello everyone,
>> 
>> I'd like to automatically publish a resourceb.html when resourcea.html
>> was
>> published.
>> I searched arround in the forum and wiki and think that "assign
>> categorie"
>> is good for that, but had no luck in getting it to work. 
>> I'd be happy for any hints how to do this.
>> 
>> Thanks and greetings
>> Marc Johnen
> 
> _______________________________________________
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/publish-resourceb.html-when-resourcea.html-is-published-tp24495047p24496455.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list