hello list,
I want to use something like the Zope tutorial lesson 9 in ZPT,
but i don't now how to do this. Any suggestions?
<dtml-call expr="RESPONSE.setCookie('lastVisited', _.DateTime())">
<dtml-comment>
If this is their first time here set a default value
for lastVisited, since they won't have the cookie yet.
</dtml-comment>
<dtml-unless lastVisited>
<dtml-call "REQUEST.set('lastVisited','1999/01/01')">
</dtml-unless>
<h2><dtml-var title></h2>
<dtml-in "sightingsFolder.objectValues()">
<dtml-if expr="bobobase_modification_time() > _.DateTime(lastVisited)">
<b>New</b>
</dtml-if>
<dtml-var sequence-item>
</dtml-in>
cheers,
Jos van der Vleuten