<HTML dir=ltr><HEAD>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7601.17573">
<STYLE><!--
font-face
{font-family:Calibri;}
font-face
{font-family:Tahoma;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{
color:purple;
text-decoration:underline;}
span.EmailStyle17
{
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{
font-size:10.0pt;}
div.WordSection1
{page:WordSection1;}
--></STYLE>
</HEAD>
<BODY lang=FR link=blue vLink=purple>
<DIV dir=ltr id=idOWAReplyText37053>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial>Hi Sandrine,</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Arial>thanks for your reply! Yes the attribute detailview="true" is set!</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Arial>Any other suggestions? It doesn't work for my created folders. In the Opencms demo flower_en it works.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> opencms-dev-bounces@opencms.org im Auftrag von Sandrine Prousteau<BR><B>Gesendet:</B> Mi 10.08.2011 13:57<BR><B>An:</B> The OpenCms mailing list<BR><B>Betreff:</B> Re: [opencms-dev] List Detail Page problem<BR></FONT><BR></DIV>
<DIV>
<DIV class=WordSection1>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt" lang=EN-US>Hi</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt" lang=EN-US>Do your use custom containerpage template? Did you put the attribute detailview="true" in the tag cms:container in your containerpage template?</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt" lang=EN-US></SPAN> </P>
<DIV>
<DIV style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=MsoNormal><B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">De :</SPAN></B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <B>De la part de</B> Feuerstein Andreas<BR><B>Envoyé :</B> mercredi 10 août 2011 13:47<BR><B>À :</B> opencms-dev@opencms.org<BR><B>Objet :</B> [opencms-dev] List Detail Page problem</SPAN></P></DIV></DIV>
<P class=MsoNormal> </P>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 10pt">Hi,</SPAN></P></DIV>
<DIV>
<P class=MsoNormal> </P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">I created a page with the following structure:</SPAN></P></DIV>
<DIV>
<P class=MsoNormal> </P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">|.content (folder)</SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">|---news (of type v8newsgallery)</SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">|------my_news.html (of type v8news)</SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">|---list (of type v8listgallery)</SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">|------mylist.html (of type v8list)</SPAN></P></DIV>
<DIV>
<P class=MsoNormal> </P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">|news (folder)</SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">|---index.html (of type containerpage)</SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">|---.content (content_folder)</SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">|------.config(sitemap_config)</SPAN></P></DIV>
<DIV>
<P class=MsoNormal> </P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">The list collects data in the .content/news folder.</SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">The index.html contains mylist.html</SPAN></P></DIV>
<DIV>
<P class=MsoNormal> </P></DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">The result is that the news are being displayed in index.html. The problem is that the links for "more" looks like the <SPAN style="COLOR: black">following: </SPAN><A href="http://localhost/opencms/opencms/.content/news/my_news.html"><SPAN style="COLOR: black">http://localhost/opencms/opencms/.content/news/my_news.html</SPAN></A></SPAN></P>
<P class=MsoNormal> </P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">I tried to create a .content folder with a .config file in the /news folder. I inserted the following mapping for detail pages:</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Type: v8news</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Page: /news/</SPAN></P>
<P class=MsoNormal> </P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">This didn't help.</SPAN></P>
<P class=MsoNormal> </P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Do you have any idea what I could have done wrong?</SPAN></P>
<P class=MsoNormal> </P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Best Regards,</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Andreas</SPAN></P></DIV></DIV></BODY></HTML>