[opencms-dev] one content - various presentations

Roberto Hervella MacĂ­a rhervella at ahorro.com
Wed Jul 19 14:38:58 CEST 2006


Thank you Carl,

I had thought the same solution as you did (set up an eventlistener to do some tasks when content is created or published).
Buit I just wanted to ask the mailing list if there was some way to do it easily.


  ----- Original Message ----- 
  From: cfn at kb.dk 
  To: The OpenCms mailing list 
  Sent: Wednesday, July 19, 2006 1:38 PM
  Subject: Re: [opencms-dev] one content - various presentations



  opencms-dev-bounces at opencms.org wrote on 19-07-2006 13:14:48:
    
  > Your method works fine, but it's a bit manual for our purposes. If I
  > understood well, It requires to create manually the sibling content 
  > and modify its template every time you create a new content. 

  Yes - it is manual. 
    
  > I was looking for something more automatic, i.e., if a user creates 
  > a new content (with template 1 associated), it should be created the
  > sibling content (with template 2 associated) in a automatic way. 
  >   
  > Do you know how to do it? 

  AFAIK that would require some programming - I guess you could set up 
  an eventlistener to do it when a new piece of content is created/published 
  or whatever - or create some code which you set up to run as a sceduled 
  job with a suitable interval. 

  Please note that I am just a raw OpenCms newbie who has read some documentation 
  so I may be wrong. I have not actually experimented with this. 

  Cheers, 

  Carl


------------------------------------------------------------------------------



  _______________________________________________
  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060719/46b80e3b/attachment.htm>


More information about the opencms-dev mailing list