I have installed the Calendar tag and it works great. I have been nagged by not being able to call another DTML method within one of the calendars cells and passing the current cell's year, month, and day values derived from the calendar's date variable. I am calling a method that lists the events for a particular day and should appear in it's specific days cell. I am certain there is a simple way to do it but I cannot find a clear example in the docs including "As http://www.zope.org/Members/michel/ZB/AppendixB.dtml reveals" this one. I understand the theory just fine, it is the syntax that I cannot figure out for this particular problem. In fact I have always found the specifics of the answers I need but not many literal examples of how to format in different situations. I am making notes because I think I am not the only one. Very grateful for any help... My clients table does not have real date values but is broken into different fields for ease of reporting I am told. They are right it does make it easier to create simple grouped and tabular reports but causes this issue when not an actual date format. Example of what does not work. Why will be obvious to most of you. I am just syntax impaired. :-) <dtml-set year="'2002'" month="'5'" day="'7'" optional> <dtml-calendar controls=no images=yes weekdays=17> <font size=2> <b><dtml-var date fmt="%d"></b> <br><dtml-var "events_dtml(year='<dtml-var date fmt=%Y>', month='<dtml-var date fmt=%m>, day='<dtml-var date fmt=%d>')"> </dtml-calendar> Thanks, Richard
participants (1)
-
Richard Shebora