Categories:
Author:
Current version:
1.2
About It:
Get it:
Rate it:
Flag it:
cnn_month_select
Plugin cnn_month_select
This is a very simple plugin (hack) that adds functionality to either mdp_calendar or zem_event. It simply creates a select form that will allow you to choose a month and year and automatically jump to the month.
Usage:
Just place a <txp:cnn_month_select /> tag wherever you want the form to appear.
Options:
plugin- the plugin that creates the calendar
- optional values are
zem_eventormdp_calendar - default is
zem_event
id- the
idattribute of theformelement - default is
monthSelectForm
- the
action- the
actionattribute of the form - default is blank
- this only needs to be used if you want to place the form on a different page from the calendar itself.
- the
wraptag- the html tag to wrap the form elements in
- default is
div
monthselectid- the
idattribute of the monthselectelement - default is
monthSelect
- the
monthlabel- the
labeltext for the month select element - default is
Month: - example usage:
<txp:cnn_month_select monthlabel="Choose a month: " />
- the
yearselectid- the
idattribute of the yearselectelement - default is
yearSelect - only needed used with mdp_calendar
- the
yearlabel- the
labeltext for the year select element - default is
Year: - only needed used with mdp_calendar
- the
submitvalue- the value of the form’s submit button
- default is
Go
submitid- the
idattribute of thesubmitbutton - default is blank
- the
submitclass- the
classattribute of thesubmitbutton - default is
button
- the
Keywords/tags:
Initially released:
June 27, 2008Posted here:
27 Jun 2008Article modified:
07 Aug 2008









If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:
Subscribe to this article's comments RSS feed. [ ? ] View Recent Comments across the site. Get a Gravatar.