<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1555" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thank you Carl,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I had thought the same solution as you did (set up
an eventlistener to do some tasks when content is created or
published).</FONT></DIV>
<DIV><FONT face=Arial size=2>Buit I just wanted to ask the mailing list if there
was some way to do it easily.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=cfn@kb.dk href="mailto:cfn@kb.dk">cfn@kb.dk</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">The OpenCms mailing list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 19, 2006 1:38
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [opencms-dev] one content -
various presentations</DIV>
<DIV><BR></DIV><BR><FONT size=2><TT><A
href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</A>
wrote on 19-07-2006 13:14:48:<BR> </TT></FONT> <BR><FONT size=2><TT>>
Your method works fine, but it's a bit manual for our purposes. If I<BR>>
understood well, It requires to create manually the sibling content <BR>>
and modify its template every time you create a new content.</TT></FONT>
<BR><BR><FONT size=2><TT>Yes - it is manual.</TT></FONT> <BR><FONT
size=2><TT> </TT></FONT><BR><FONT size=2><TT>> I was looking for
something more automatic, i.e., if a user creates <BR>> a new content (with
template 1 associated), it should be created the<BR>> sibling content (with
template 2 associated) in a automatic way.</TT></FONT> <BR><FONT
size=2><TT>> </TT></FONT> <BR><FONT size=2><TT>> Do you know how
to do it?</TT></FONT> <BR><BR><FONT size=2><TT>AFAIK that would require some
programming - I guess you could set up</TT></FONT> <BR><FONT size=2><TT>an
eventlistener to do it when a new piece of content is
created/published</TT></FONT> <BR><FONT size=2><TT>or whatever - or create
some code which you set up to run as a sceduled</TT></FONT> <BR><FONT
size=2><TT>job with a suitable interval.</TT></FONT> <BR><BR><FONT
size=2><TT>Please note that I am just a raw OpenCms newbie who has read some
documentation</TT></FONT> <BR><FONT size=2><TT>so I may be wrong. I have not
actually experimented with this.</TT></FONT> <BR><BR><FONT
size=2><TT>Cheers,</TT></FONT> <BR><BR><FONT size=2><TT>Carl</TT></FONT>
<P>
<HR>
<P></P><BR>_______________________________________________<BR>This mail is
sent to you from the opencms-dev mailing list<BR>To change your list options,
or to unsubscribe from the list, please
visit<BR>http://lists.opencms.org/mailman/listinfo/opencms-dev</BLOCKQUOTE></BODY></HTML>