[opencms-dev] one content - various presentations

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


Thank you Carl,

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.

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?

Thanks in advance,

    Roberto


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



  opencms-dev-bounces at opencms.org wrote on 18-07-2006 13:21:53:

  > What I want is to modifiy a unique content and in some way to 
  > generate two or more different presentations, for example one for a 
  > web site and another for a mobile phone. 
  >   
  > Does anyone know how to use it? Any idea? 

  1. create content 
  2. create sibling of content 
  3. set template property of one sibling to a template presenting the content in one way 
  3. set template property of other sibling to a template presenting the content in some other way 

  Now the same content wil be presented in different ways depending on which 
  sibling you display. 

  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/3f8b3c23/attachment.htm>


More information about the opencms-dev mailing list