Glasnost

help

 

getLastObjects

getLastObjects(serverRole, number) returns the number most recent objects whose serverRole attribute is serverRole.

<ul>
  <li tal:repeat="art getLastObjects('articles', 20)">
    <a tal:attributes="href art.getUrl()" 
       tal:content="art.label">article</a>,
    <span tal:replace="art.modificationTime.euro">modif</span>
  </li>
</ul>
up