DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:gcalendar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:gcalendar [2011-02-07 10:32] – [Screenshot] 71.41.61.103plugin:gcalendar [2022-01-13 07:08] (current) – [Screenshot] Aleksandr
Line 11: Line 11:
 conflicts  conflicts 
 similar    :  similar    : 
-tags       : calendar, !discontinued+tags       : !obsolete, calendar, !discontinued 
 + 
 +downloadurl: http://www.if.ufrj.br/~tgrappoport/wiki/lib/plugins/gcalendar_20061219.zip
  
-downloadurl: http://hinkelstones.info/archive/gcalendar/gcalendar_20061219.zip 
 ---- ----
  
-This [[plugins|plugin]] extends DokuWiki to show a monthly-calendar build up from one or more wiki-pages. I wrote this plugin to use it as a family-calendar and to coordinate my driving-community at work.+This plugin extends DokuWiki to show a monthly-calendar build up from one or more wiki-pages. I wrote this plugin to use it as a family-calendar and to coordinate my driving-community at work.
  
 +^ Download | [[ http://www.if.ufrj.br/~tgrappoport/wiki/lib/plugins/gcalendar_20061219.zip|gcalendar_20061219.zip]]  |
  
 +:!: This plugin is not compatible to PHP 7.0 or higher :!:
  
 ===== Development discontinued ===== ===== Development discontinued =====
Line 39: Line 42:
  
 ==mode=<string>== ==mode=<string>==
-<string> could be ''month'', ''week'' or day. ''month'' is default.+<string> could be ''month'', ''week'' or ''day''. ''month'' is default.
  
 ==pages=(<item-1>,<item-2>,...)== ==pages=(<item-1>,<item-2>,...)==
Line 211: Line 214:
 ===== Screenshot ===== ===== Screenshot =====
  
-{{http://hinkelstones.info/archive/gcalendar/gcalendar_screenshot2.png?nocache}} +{{http://web.archive.org/web/20061106035210if_/http://hinkelstones.info:80/archive/gcalendar/gcalendar_screenshot2.png}}
-FIXME+
  
  
  
 ===== Installation ===== ===== Installation =====
-\\ +Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. 
-Download the current version of the plugin and unzip it to the DokuWiki plugins-folder (=> lib/plugins/).+
  
 In order to let the plugins create it style sheet from the ones in ''DOKU_GKAL/user'' (''DOKU_GKAL'' being the base gcalendar directory), it is necessary that the web server user has write access to the DOKU_GCAL directory. In order to let the plugins create it style sheet from the ones in ''DOKU_GKAL/user'' (''DOKU_GKAL'' being the base gcalendar directory), it is necessary that the web server user has write access to the DOKU_GCAL directory.
-\\+
  
 **Current version:** **Current version:**
-**12/19/2006** [[http://hinkelstones.info/archive/gcalendar/gcalendar_20061219.zip|gcalendar_20061219]]\\ +**12/19/2006** [[http://hinkelstones.info/archive/gcalendar/gcalendar_20061219.zip|gcalendar_20061219]] 
-\\+
 **new-features:** **new-features:**
   * options "noheader", "nohead", "nofoot" and "nonav" added. See [[#syntax]].   * options "noheader", "nohead", "nofoot" and "nonav" added. See [[#syntax]].
Line 235: Line 237:
 ===== Changelog =====  ===== Changelog ===== 
  
-**11/29/2006** <del>[[http://hinkelstones.info/archive/gcalendar/gcalendar_20061129.zip|gcalendar_20061129]]</del>\\ +**11/29/2006** <del>[[http://hinkelstones.info/archive/gcalendar/gcalendar_20061129.zip|gcalendar_20061129]]</del> 
-\\+ 
 **new-features:** **new-features:**
   * date-fetching is now more flexible. See inc/conf.php and section 'configuration' below. ISO-Date-Format (yyyy-mm-dd) is now supported. Thanks to Viktor for asking.   * date-fetching is now more flexible. See inc/conf.php and section 'configuration' below. ISO-Date-Format (yyyy-mm-dd) is now supported. Thanks to Viktor for asking.
   * moved ''user/conf.php'' to ''inc/conf.php'' and introduced ''/user/local_conf.php'' to separate user-data from plugin defaults.    * moved ''user/conf.php'' to ''inc/conf.php'' and introduced ''/user/local_conf.php'' to separate user-data from plugin defaults. 
  
-**11/10/2006** <del>[[http://hinkelstones.info/archive/gcalendar/gcalendar_20061110.zip|gcalendar_20061110]]</del>\\ +**11/10/2006** <del>[[http://hinkelstones.info/archive/gcalendar/gcalendar_20061110.zip|gcalendar_20061110]]</del> 
-\\+ 
 **bug-fixes:** **bug-fixes:**
   * fixed: category was reset in multi-date events   * fixed: category was reset in multi-date events
   * order events by start-/end-time   * order events by start-/end-time
   * some css fixes   * some css fixes
-\\+
 **new-features:** **new-features:**
   * Italian, Danish, Finnish, French language profiles added   * Italian, Danish, Finnish, French language profiles added
Line 258: Line 262:
   * option "compact" added. This adds the ability to show only days with events (with option dropempty) or show days with no events more compact to save space.   * option "compact" added. This adds the ability to show only days with events (with option dropempty) or show days with no events more compact to save space.
  
-**09/17/2006** <del>[[http://hinkelstones.info/archive/gcalendar/gcalendar_20060917.zip|gcalendar_20060917]]</del>\\+**09/17/2006** <del>[[http://hinkelstones.info/archive/gcalendar/gcalendar_20060917.zip|gcalendar_20060917]]</del>
   * moved the user-specific CSS-styles into separate files "user/background.css", "user/events.css" and "user/other.css". This makes it easier to upgrade to a new version of the plugin.    * moved the user-specific CSS-styles into separate files "user/background.css", "user/events.css" and "user/other.css". This makes it easier to upgrade to a new version of the plugin. 
   * rendering for "\\" added. Generating newlines inside an event   * rendering for "\\" added. Generating newlines inside an event
-\\ 
  
-**09/12/2006**\\+ 
 +**09/12/2006**
   * the plugin now should be XHTML-conform. Thanks to Erik Tomlinson!   * the plugin now should be XHTML-conform. Thanks to Erik Tomlinson!
   * rendering for "->", "<-", "=>" and "<=" added   * rendering for "->", "<-", "=>" and "<=" added
   * more visible today marker (now frame the whole row with an orange border)   * more visible today marker (now frame the whole row with an orange border)
   * minor bug fixes   * minor bug fixes
-\\ 
  
-**09/03/2006**\\+ 
 +**09/03/2006**
   * added some options.  See [[#syntax]].   * added some options.  See [[#syntax]].
     * lang - to switch the plugin to an other language.     * lang - to switch the plugin to an other language.
Line 276: Line 280:
   * some css-related issues solved.   * some css-related issues solved.
   * minor change to regexp $conf['gCal_match_category'] to scan sections as categories, without whitespace.   * minor change to regexp $conf['gCal_match_category'] to scan sections as categories, without whitespace.
-\\ 
  
-**09/01/2006**\\+ 
 +**09/01/2006**
   * added security-option which strips all non-allowed HTML- and PHP-tags from the calendar entries. See [[#Configuration]].   * added security-option which strips all non-allowed HTML- and PHP-tags from the calendar entries. See [[#Configuration]].
-\\ 
  
-**08/28/2006**\\+ 
 +**08/28/2006**
   * some bug-fixes (thanks again to Reinhold Kainhofer)   * some bug-fixes (thanks again to Reinhold Kainhofer)
     * include of file ''base.php'' removed. This generated error messages on other systems than mine, because I copied this file from an earlier installation.     * include of file ''base.php'' removed. This generated error messages on other systems than mine, because I copied this file from an earlier installation.
     * preg-expression for matching the category doesn't excluded all trailing equal-signs.     * preg-expression for matching the category doesn't excluded all trailing equal-signs.
     * other minor bugfixes     * other minor bugfixes
-\\ 
  
-**08/27/2006**\\+ 
 +**08/27/2006**
   * some options are now user-configurable in the file "/user/conf.php".   * some options are now user-configurable in the file "/user/conf.php".
   * more flexible reading of categories and events using user-configurable patterns. Now its possible to have more than one search pattern.   * more flexible reading of categories and events using user-configurable patterns. Now its possible to have more than one search pattern.
   * basic DokuWiki-syntax like bold, italic, underlined,... is processed by the plugin.   * basic DokuWiki-syntax like bold, italic, underlined,... is processed by the plugin.
   * wikilinks, interwikilinks, external links, emails, windows shares... are processed by the plugin.   * wikilinks, interwikilinks, external links, emails, windows shares... are processed by the plugin.
-\\ 
  
-**08/24/2006**\\+ 
 +**08/24/2006**
   * bug with daylight savings time fixed. I.e. Oct 29 showed up twice because it has 25 hours.   * bug with daylight savings time fixed. I.e. Oct 29 showed up twice because it has 25 hours.
   * some corrections enabling urlrewrite   * some corrections enabling urlrewrite
   * now tabs (not only spaces) are allowed to separate dates/times in the unordered lists.   * now tabs (not only spaces) are allowed to separate dates/times in the unordered lists.
 Thanks to Reinhold Kainhofer for all these fixes !!! Thanks to Reinhold Kainhofer for all these fixes !!!
-\\ 
  
-**08/18/2006**\\+ 
 +**08/18/2006**
   * macros @USER@ and @ID@ added to pages parameter. See syntax.   * macros @USER@ and @ID@ added to pages parameter. See syntax.
   * options ''debug'', ''notoc'', ''cache'' and ''nested'' added. See Syntax.   * options ''debug'', ''notoc'', ''cache'' and ''nested'' added. See Syntax.
   * bug-fix when using a start-page inside a namespace like ':wiki:start'.   * bug-fix when using a start-page inside a namespace like ':wiki:start'.
-\\ 
  
-**08/16/2006**\\+ 
 +**08/16/2006**
   * bug-fix: the latest 'code-review' broke the pagelinks (from event/task to wikipage).    * bug-fix: the latest 'code-review' broke the pagelinks (from event/task to wikipage). 
-\\ + 
-**08/15/2006a**\\+**08/15/2006a**
   * parameter **''pagelinks''** added. See syntax.   * parameter **''pagelinks''** added. See syntax.
   * code-review   * code-review
   * bug-fixes   * bug-fixes
   * added newline ("\n") between events   * added newline ("\n") between events
-\\ + 
-**08/14/2006**\\+**08/14/2006**
   * week-view added (looks very similar to the month view yet, but shows only 7 days.   * week-view added (looks very similar to the month view yet, but shows only 7 days.
   * whole namespaces are now allowed to include (see usage).   * whole namespaces are now allowed to include (see usage).
   * some bug-fixes   * some bug-fixes
-\\ + 
-**08/08/2006**\\+**08/08/2006**
   * first release of this plugin.   * first release of this plugin.
-\\+
  
 ===== Configuration ===== ===== Configuration =====
Line 510: Line 514:
 I needed the options provided by [[http://user.ceng.metu.edu.tr/~ahmet/Wiki/doku.php?id=software:dokuwiki:gcalendar:home|Ahmet]] and the new "noheader" options provided by the newest release on this page. Without really knowing PHP all I did was to use MELD (a gnome diff tool) to synchronize the changes in the two packages. I also added the other.css file from this page to make it read and use style.ini. I needed the options provided by [[http://user.ceng.metu.edu.tr/~ahmet/Wiki/doku.php?id=software:dokuwiki:gcalendar:home|Ahmet]] and the new "noheader" options provided by the newest release on this page. Without really knowing PHP all I did was to use MELD (a gnome diff tool) to synchronize the changes in the two packages. I also added the other.css file from this page to make it read and use style.ini.
  
-Well - I ended up with a (seeminglyworking version of gcalendar. **Seemingly working!** Would someone else please help me test this? +(Comment on June 2012): This Version of gcal has been working for my sites using a variety of themes since November 2009 on all DokuWiki Versions up to the recent one ... which is still true for Adora Belle!
- +
-See strftime patch above for newest 14b DokuWiki-Version: had to be applied twice in version _v2 of the above package: Once for "normal mode" without Ahmet's extensions, once more for "Ahmet's mode"Maybe I should also add that I applied little changes to the style sheet: I subtracted 0.3em from all font-sizes to make the calendar a little smaller (I'm using it in the sidebar). +
- +
-Tankyou, Dirk +
  
 ===== Standard.css ===== ===== Standard.css =====
Line 858: Line 857:
  
    ; new DokuWiki styles as of 2006-08     ; new DokuWiki styles as of 2006-08 
-   ; see http://www.dokuwiki.org/wiki:devel:css?s=style+ini#pattern_replacement+   ; see http://www.dokuwiki.org/devel:css#styleini
  
    __background__          = "#fff"    __background__          = "#fff"
plugin/gcalendar.1297071176.txt.gz · Last modified: 2011-02-07 10:32 by 71.41.61.103

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki