Hi everybody, I write this because I have a template for news, and in the main news page I want to get all the news listed withe the title, a brief description and the URL to the page of the new, and here is where I have the problem, I don't know how to build that URL. This is the relevant code:

<cms:pageIterator>
<cms:contentNodeIterator contentNodeCollectionName="mainColumnParagraphs">
       <cms:out nodeDataName="spacer" var="spacer" />
       <div style="clear:both;" class="spacer${spacer}">
         <cms:ifNotEmpty nodeDataName="image">
           <cms:setNode var="imagedata" />
           <cms:out nodeDataName="image" var="imageurl" />
<img src="${pageContext.request.contextPath}${imageurl}" class="contentImage_${imagedata.imageFloat}"
             alt="${imagedata.imageAlt}" />
         </cms:ifNotEmpty>
         <cms:ifNotEmpty nodeDataName="title">
           <h2>
             <cms:out nodeDataName="title" />
           </h2>
         </cms:ifNotEmpty>
         <cms:out nodeDataName="resumen" />
               </div>

               <!--here is where the url should go-->

     </cms:contentNodeIterator>
 </cms:pageIterator>

Thank you in advance.

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to