[Zope] calendar help (newbie)

James Sintz jsintz@ohiohistory.org
Thu, 9 Nov 2000 18:17:58 -0500


Yes and I have read it (several times). What I am stuck on now is only
showing newsletters prior to or equal to today's date.

Here is what I have so far and it works (except for the not showing
newsletters past today part).

<dtml-calendar>
<dtml-call "setCalendar('valign','top')">

<dtml-let d="date.Date()"

    hasdate="hasProperty(d)"

       prop="getProperty(d)"
      news="SiteSearch.searchResults(meta_type='newsLet', goLiveDate=date)">
<dtml-if news>
   <dtml-let path="SiteSearch.getpath(news[0].data_record_id_)">
     <a href="&dtml-path;/nl_archive"><dtml-var "date.dd()"><br><dtml-var
"news[0].nl_subject"></a>
   </dtml-let>
<dtml-else>
   <dtml-var "date.dd()">
</dtml-if>
   <br>
<dtml-if "hasdate==1">

  <dtml-var dprop>

</dtml-if>

</dtml-let>

</dtml-calendar> 


-Jamey

> -----Original Message-----
> From:	Dieter Maurer [SMTP:dieter@handshake.de]
> Sent:	Thursday, November 09, 2000 3:17 PM
> To:	James Sintz
> Subject:	Re: [Zope] calendar help (newbie)
> 
> You know about the CalenderTag HowTo?
> 
> 
> Dieter