1 Date: Sun, 27 Jan 2002 17:28:55 -0500
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks)
3 X-Rcs-Id: $Id: CalendarPlugin,v 1.6 2002-12-29 00:32:34 carstenklapp Exp $
4 Content-Type: application/x-phpwiki;
5 pagename=CalendarPlugin;
6 pgsrc_version="2 $Revision: 1.6 $";
10 Content-Transfer-Encoding: binary
12 The CalendarPlugin can be used to generate a monthly calendar in a
13 wiki page. It's handy for PersonalWiki~s.
15 Individual dates in the calendar link to specially named wiki pages.
16 The names for the "day pages" are by default formed by appending the
17 date to the pagename on which the calendar appears.
19 ''This feature was inspired by [Manila|http://manila.userland.com/],
20 and first implemented by GaryBenson. It was later implemented as a
21 WikiPlugin by JeffDairiki.''
40 Specify the year for the calendar. (Default: current year.)
44 Specify the month for the calendar. (Default: current month.)
48 Added to ''month''. Can be used to include several months worth of
49 calendars on a single wiki page.
51 <?plugin Calendar month_offset=+1?>
57 [Strftime| php-function:strftime] style format string used to
58 generate page names for the "day pages." The default value is
63 Prepended to the date (formatted per ''date_format'') to generate
64 the "day page" names. The default value is =~[pagename]/=.
70 [Strftime| php-function:strftime] style format string used to
71 generate the title of the calendar. (Default: =%B, %Y=.)
75 [Strftime| php-function:strftime] style format string used to
76 generate the day-of-week names at the top of the calendar.
80 What day of the week does the calendar start on. This should be
81 specified as an integer in the range zero (Sunday) through six
82 (Saturday), inclusive.
84 <?plugin Calendar start_wday=1 ?>
90 GaryBenson wrote the first calendar implementation for PhpWiki 1.2.
91 (Since 1.2 doesn't support plugins, it uses a =###CALENDAR###= token
92 as a trigger.) Gary provides a screenshot at
93 http://inauspicious.org/files/screenshots/calender.png|screenshot, a
94 [patch|http://inauspicious.org/files/phpwiki/phpwiki-1.2.0-calendar.patch]
96 [calendar.php|http://inauspicious.org/files/phpwiki/calendar.php]
97 (which renders a view of the year.)