Recent changes RSS feed
 

Calendar Month Tag

CalendarMonthTag uses HtmlTableTag, CalendarTitleStyleTag, CalendarDayHeaderStyleTag, CalendarDayStyleTag, CalendarSelectedDayStyleTag, CalendarEmptyDayStyleTag and CalendarNextPrevStyleTag to render a calendar.

The template tag is <calendar:month />

The available attributes are the HtmlTableTag attributes and the following;

Attribute Meaning
yearuri name of a HTTP GET variable in which the current year is identified e.g. ‘y’ for $_GET[’y’]
monthuri name of a HTTP GET variable in which the current month is identified e.g. ‘m’ for $_GET[’m’]
dayuri (true,false) whether to show the calendar title (containing the month and year)
shownextprev (true,false) whether to show the next / prev month links
dayheadershow (true,false) whether to show the column headings for a week (e.g. Mon,Tue,Wed etc.)
dayheaderstyle CSS style attribute to use on the day header row of the table
 
tag/calendar/month.txt · Last modified: 2006/12/09 17:16
 
Hosting for this site donated by Procata PHP Development