[Zope] Calendar Tag 0.9.1

Ibaņez Palomar Juan David al004151@alumail.uji.es
Mon, 20 Dec 1999 12:24:52 +0100 (NFT)


> 
> That is really cool, but the example:
>     <!--#calendar [args]-->
>       template code
>     <!--#/calendar-->
> 
> hmmm... what do I do with the template code part?
> 
> Thanks
> 

In the archives
  http://lists.zope.org/pipermail/zope/1999-September/010057.html

you can find this explanation:

  The DTML within the calander tag is called for every cell that is rendered, 
  be it in day, week or month mode. The tag supplies you with methods and 
  variables to find out what mode you are in, what cell (what date, week or 
  month), and to influence the rendering of that particular cell, or the 
  rendering of the whole calendar.

(his english is better than mine)

For instance:

  <dtml-calendar>
    <dtml-var date fmt=day>
  </dtml-calendar>

renders a simple month calendar.

You can find lots of examples in the archives since the calendar tag
was released in February (I will look at them carefully ASAP).


Look also "http://www.endicor.com/zope/test/Calendar" for a simple demo.



David