The CalendarPlugin can be used to generate a monthly calendar in a
wiki page. It's handy for PersonalWikis.
Individual dates in the calendar link to specially named wiki pages. The names for the "day pages" are by default formed by appending the date to the pagename on which the calendar appears.
This feature was inspired by Manila,
and first implemented by GaryBenson
. It was later implemented as a
WikiPlugin by JeffDairiki
.
<?plugin Calendar?>
will get you:
|
|||||||||
Sun | Mon | Tue | Wed | Thu | Fri | Sat | |||
1 | 2 | 3 | 4 | 5 | 6 | 7 | |||
8 | 9 | 10 | 11 | 12 | 13 | 14 | |||
15 | 16 | 17 | 18 | 19 | 20 | 21 | |||
22 | 23 | 24 | 25 | 26 | 27 | 28 | |||
29 | 30 | 31 |
Added to month. Can be used to include several months worth of calendars on a single wiki page.
What day of the week does the calendar start on. This should be specified as an integer in the range zero (Sunday) through six (Saturday), inclusive.
GaryBenson wrote the first calendar implementation for PhpWiki 1.2.
(Since 1.2 doesn't support plugins, it uses a ###CALENDAR### token
as a trigger.) Gary provides a screenshot at
http://inauspicious.org/files/screenshots/calender.png|screenshot, a
patch
(on 1.2.0), and
calendar.php
(which renders a view of the year.)
lib/Template.php:112: Notice[8]: Only variables should be assigned by reference
lib/Template.php:114: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'htmldump'):112: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'htmldump'):114: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'body') (In template 'htmldump'):112: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'body') (In template 'htmldump'):114: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'body') (In template 'htmldump'):112: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'body') (In template 'htmldump'):114: Notice[8]: Only variables should be assigned by reference
lib/CachedMarkup.php (In template 'browse') (In template 'body') (In template 'htmldump'):427: Notice[8]: Only variables should be assigned by reference
lib/CachedMarkup.php (In template 'browse') (In template 'body') (In template 'htmldump'):427: Notice[8]: Only variables should be assigned by reference
lib/CachedMarkup.php (In template 'browse') (In template 'body') (In template 'htmldump'):427: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'browse') (In template 'body') (In template 'htmldump'):112: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'browse') (In template 'body') (In template 'htmldump'):114: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'body') (In template 'htmldump'):112: Notice[8]: Only variables should be assigned by reference
lib/Template.php (In template 'body') (In template 'htmldump'):114: Notice[8]: Only variables should be assigned by reference