forked from jplitza/ical
-
Notifications
You must be signed in to change notification settings - Fork 0
ramilehti/ical
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The file sample.php contains self-contained code to show the calendar and can be used to adapt the display to other applications apart from MediaWiki. The file ical.php is the MediaWiki plugin and can be activated by adding the following to LocalSettings.php: require_once( "$IP/extensions/ical/ical.php" ); It can then be used on any page by using the following tag: <ical file="path/to/file.ics" /> or <ical url="http://example.com/url/to/file.ics" /> The date formats can be modified by specifying the variables $wgIcalTimeFormat, $wgIcalDateFormat and $wgIcalShortDateFormat in the LocalSettings.php as strftime()-compatible strings or as parameters timeformat, dateformat and shortdateformat to the <ical /> tag. The number of days to show can be modified by setting the variable $wgIcalDaysToShow in LocalSettings.php or the tag-parameter days.
About
Mediawiki extension to include an ical calendar
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 99.8%
- CSS 0.2%