[opencms-dev] How can show random news with ContentLoad?

Deiverson Silveira deiverson at solutioncms.com
Mon Apr 28 15:26:11 CEST 2008


Hi,

Im question about this, the param of collector need random news. example:

  <cms:contentload collector="allInFolderPriorityDateDesc"
param="${opencms.folder}news${*}.html|news|3" editable="true">
    <%-- create a date object from date value --%>
    <li>
   <a href="<cms:link><cms:contentshow element="${opencms.filename}"
/></cms:link>" title="<cms:contentshow element="Title"/>"></a>
      <p><cms:contentshow element="Teaser" /></p>
    </li>
  </cms:contentload>

How can show random 3 news?

King Regards,

Deiverson Silveira
SolutionCMS
www.solutioncms.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080428/3b98de8e/attachment.htm>


More information about the opencms-dev mailing list