|
|||
|
The Calendar Tag allows one to insert a simple calendar in a template. It is mainly meant to be used in conjunction with the WebLogPlugin?.
Usage<wiki:CalendarTag pageformat="<date format string>" urlformat="<date format string>" />
ParametersYou can direct the behaviour of the CalendarTag using the following tag parameters:
Example
<wiki:Calendar pageformat="'Main_blogentry_'ddMMyy'_1'" urlformat="'Wiki.jsp?page=Main&weblog.startDate='ddMMyy'&weblog.days=1'"/> This creates a calendar, where each date that has a corresponding "Main_blogentry_ddMMyy_1" page in existence, points to an URL defined using the urlformat parameter. Note that you will need to escape any real text using single quotes, since the SimpleDateFormat format does not use anything fancy like %d. You are free to use any formatting options available.
HTTP ParametersThe initial start date is taken from HTTP parameters "calendar.date", or "weblog.startDate". The date format should be "ddMMyy". This allows the CalendarTag to set the date accordingly, and also pass it to other tags on the page.
|
This material is based upon work supported by the National Science Foundation under award 0225676. Any opinions, findings and conclusions or recomendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation (NSF). Copyright 2004 Partnership for Biodiversity Informatics, University of New Mexico, The Regents of the University of California, and University of Kansas |