<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1555" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
BEHAVIOR: url(#default#VML)
}
o\:* {
BEHAVIOR: url(#default#VML)
}
w\:* {
BEHAVIOR: url(#default#VML)
}
.shape {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType name="PersonName"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>
st1\:*{behavior:url(#default#ieooui) }
</STYLE>
<![endif]-->
<STYLE>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:Arial;
color:purple;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue bgColor=white>
<DIV><FONT face=Arial size=2>Hi Olli, I'm not sure what you mean. Could you send
me an example?</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm not sure how to implement a template and then
to include <FONT color=#800080>the relevant templates responsible for actual
rendering of the content based on the logic.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I don't know whether it is possible to generate
various contents from the same content at the same time (in one action), because
in OpenCMS the content and the presentation is mixed in the same file, a
template. Am I wrong?</FONT></DIV>
<DIV> </DIV>
<DIV>Does anyone implemented this feature (varios presentations from one unique
content)?</DIV>
<DIV> </DIV>
<DIV>Thanks in advance,</DIV>
<DIV> </DIV>
<DIV> Roberto</DIV>
<DIV> </DIV></FONT></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=olli_aro@yahoo.co.uk href="mailto:olli_aro@yahoo.co.uk">Olli Aro</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> Tuesday, July 18, 2006 3:16
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [opencms-dev] one content -
various presentations</DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=purple size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: purple; FONT-FAMILY: Arial">How about
implementation a main template, which has the logic to switch between the
presentations and then include the relevant templates responsible for actual
rendering of the content based on the logic?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=purple size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: purple; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=purple size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: purple; FONT-FAMILY: Arial">Regards,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=purple size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: purple; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=purple size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: purple; FONT-FAMILY: Arial">Olli<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=purple size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: purple; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="MARGIN-LEFT: 36pt; TEXT-ALIGN: center"
align=center><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <A
href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</A>
[mailto:opencms-dev-bounces@opencms.org] <B><SPAN style="FONT-WEIGHT: bold">On
Behalf Of </SPAN></B>Roberto Hervella Macía<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> 18 July 2006 12:22<BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> <st1:PersonName w:st="on">The OpenCms
mailing list</st1:PersonName><BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> [opencms-dev] one content -
various presentations</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi
everybody!!</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">One functionality we want to use
in OpenCms is the possibility to generate various presentations from one
unique content automatically, i.e., I don't want to implement two different
templates and to modified both of them separately, and finally to publish
them.</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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.</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Does anyone know how to use it?
Any idea?</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks in
advance,</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
Roberto</SPAN></FONT><o:p></o:p></P></DIV></DIV><BR>
<P><FONT size=2>--<BR>No virus found in this incoming message.<BR>Checked by
AVG Free Edition.<BR>Version: 7.1.394 / Virus Database: 268.10.1/390 - Release
Date: 17/07/2006<BR></FONT></P>
<P><FONT face=Arial size=2></FONT></P><BR>
<P><FONT size=2>--<BR>No virus found in this outgoing message.<BR>Checked by
AVG Free Edition.<BR>Version: 7.1.394 / Virus Database: 268.10.1/390 - Release
Date: 17/07/2006<BR></FONT></P>
<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>