DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:yearbox

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:yearbox [2019-05-29 23:23] grosseplugin:yearbox [2024-03-22 12:27] (current) Aleksandr
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description: Create simple year or recent month(s) calendars, with a new page link for each day+description: [PHP 7.2 - 8.0] Create simple year or recent month(s) calendars, with a new page link for each day
 author     : Michael Große (formerly: Symon Bent) author     : Michael Große (formerly: Symon Bent)
 email      : mic.grosse+dokuwiki@googlemail.com email      : mic.grosse+dokuwiki@googlemail.com
 type       : Syntax type       : Syntax
-lastupdate : 2019-05-29 +lastupdate : 2021-03-19 
-compatible : Greebo+compatible : Hogfather
 depends    :  depends    : 
 conflicts  conflicts 
 similar    : wikicalendar similar    : wikicalendar
-tags       : calendar+tags       : calendar, diary
  
 downloadurl: https://github.com/micgro42/yearbox/zipball/master downloadurl: https://github.com/micgro42/yearbox/zipball/master
Line 19: Line 19:
  
 ---- ----
 +
 +:!:  :!: **This Plugin needs at least PHP 7.2!** :!:  :!:
 +
 +(If you absolutely have to run a PHP version that is End of Life since long ago, you can install the last [[https://github.com/micgro42/yearbox/zipball/3d1075d384f31c6893bc0571f5998927f9ac3853|PHP 7.0 compatible version]].)
  
 ===== Installation ===== ===== Installation =====
Line 59: Line 63:
 ...will result in these calendars. ...will result in these calendars.
  
-{{http://pagequery.googlecode.com/files/sample%20of%20yearbox.png|Yearbox Example Screenshot}}+{{ https://trello.com/1/cards/6368e98436ccad001ca1efa4/attachments/6368ea1fa25bdd0058b26d3c/download/sample-of-yearbox.png?recache |Yearbox Example Screenshot}}
  
 The namespace/page-name is automatically created as follows: The namespace/page-name is automatically created as follows:
Line 74: Line 78:
 |''ns=<namespace>''      |root namespace in which to create the linked calendar pages  |  current ns  | |''ns=<namespace>''      |root namespace in which to create the linked calendar pages  |  current ns  |
 |''recent=<num>''        |build calendar based on recent days, i.e. how many days should be visible before today (rounded up to whole months)---take precedence over other options! |  21 days  | |''recent=<num>''        |build calendar based on recent days, i.e. how many days should be visible before today (rounded up to whole months)---take precedence over other options! |  21 days  |
-|''year=yyyy[,yyyy]''    |build calendar for the given year, or range of years (inclusive)  |  current year  |+|''year=yyyy[,yyyy]''    |build calendar for the given year, or range of years (inclusive)\\ :!: year must be ≥ 1902   current year  |
 |''months=<csv>''((csv = comma separated values))  |which months should be visible, 1=Jan, 2=Feb,..., e.g. months=6,7 (Jun,Jul)  |  all  | |''months=<csv>''((csv = comma separated values))  |which months should be visible, 1=Jan, 2=Feb,..., e.g. months=6,7 (Jun,Jul)  |  all  |
 |''weekdays=<csv>''      |which weekdays should have links, 1=Mon, 2=Tue,... e.g. weekdays=1,2,3,4,5 (Mon to Fri)((useful for school calendars, etc..))  |  all  | |''weekdays=<csv>''      |which weekdays should have links, 1=Mon, 2=Tue,... e.g. weekdays=1,2,3,4,5 (Mon to Fri)((useful for school calendars, etc..))  |  all  |
Line 87: Line 91:
 ===== Configuration and Settings ===== ===== Configuration and Settings =====
  
-The month and day abbreviations can be changed in the language files. Currently only English is available.+The month and day abbreviations can be changed in the language files. A few languages are already available. Feel free to add your language on [[https://translate.dokuwiki.org/plugin/yearbox|yearbox translation page]].
  
 ===== Development ===== ===== Development =====
  
-Nothing yet.+**Releases:** 
 +{{rss>https://github.com/micgro42/yearbox/releases.atom description author}}
  
 === Change Log === === Change Log ===
  
-  * 2018-09-21: +See [[https://github.com/micgro42/yearbox/blob/master/CHANGELOG.md|CHANGELOG.md]].
-    * New Maintainer! +
-    * The naming scheme can be changed globally in the configuration +
-  * **2011-07-14: [0.4]** +
-    * NEW: align option, left, right [centered is default] +
-    * CHGinternal rewrite for future flexibility +
-  * 2011-05-08: [0.3] +
-    * NEW: months and weekdays options, you can now make certain months and weekdays invisible (removes links in case of weekdays)  +
-    * FIX: bug with wikis where URL rewrite is on (? vs & at end of url)  +
-    * FIX: date logic problems: November and December were using wrong years! +
-    * CSS: improved colour scheme and layout +
-  * 2011-05-02: [0.2] +
-    * Bugfix release: incorrect dates for November/December (year was wrong); problems with URL Rewriting on +
-  * 2011-04-09: [0.1] +
-    * Initial release+
  
  
 ===== FAQ ===== ===== FAQ =====
  
-MAKE SURE YOU USE  +:!: MAKE SURE YOU USE **%%~~NOCACHE~~%%** ON THE PAGE!
- +
- +
-  ~~NOCACHE~~ +
- +
- +
-ON THE PAGE!+
  
 ===== Discussion ===== ===== Discussion =====
plugin/yearbox.1559165025.txt.gz · Last modified: 2019-05-29 23:23 by grosse

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