Is it just me or is the calendar product misssing from the Zope site again? I'd like to setup three calendars on one page... I have the name thing working so I can have three, but I'd like to have this month as well as last and next months. I can't figure how to get the date to the calendar so that it likes it. Josh At 8:09 PM -0500 11/23/99, technews@egsx.com wrote:
Hi Harry,
I got all the options to work with the calendar product. This is a sample code I made that has values set for each of the properties I tested.
<!--#calendar mode=month bgcolor=e3e3e3 -->
<!-- Set the letters for the day of the week --> <dtml-call "setCalendar('daynames','ABCDEFG')">
<!-- Set the background color of the top cells --> <dtml-call "setCalendar('leftbgcolor','red')"> <dtml-call "setCalendar('middlebgcolor','blue')">
<!-- Set the cell spacing and padding of a cell --> <dtml-call "setCalendar('padding','5')"> <dtml-call "setCalendar('spacing','0')">
<dtml-if "mode=='month'"> <a href="<!--#var "linkDate(date)"-->"><!--#var date fmt=dd--></a> <dtml-elif "mode=='day'"> <font size="+3"><b><!--#var date fmt=dd--></b></font> </dtml-if>
<!--#/calendar-->
Adonis
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
# # # _____________________________________________ Joshua Brauer Box 915 http://www.brauer.org Fort Collins, CO 80522 Fax: (419) 793-4120 _____________________________________________ In flying I have learned that carelessness and overconfidence are usually far more dangerous than deliberately accepted risks. -- Wilbur Wright in a letter to his father, September 1900 ____________________________________________________