<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>jscalendar (third party plugin)</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../../style.css" type="text/css" /> <link rel="stylesheet" href="../../local.css" type="text/css" /> <meta name="author" content="spalax" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../../index.html">ikiwiki</a>/ <a href="../../plugins.html">plugins</a>/ <a href="../contrib.html">contrib</a>/ </span> <span class="title"> jscalendar (third party plugin) </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p><span class="infobox"> Plugin: jscalendar<br /> Author: <span class="createlink">Louis</span><br /> Included in ikiwiki: no<br /> Enabled by default: no<br /> Included in <a href="../goodstuff.html">goodstuff</a>: no<br /> Currently enabled: no<br /> </span></p> <h1>Jscalendar</h1> <p>Jscalendar is a javascript equivalent to the <a href="../calendar.html">calendar</a> plugin.</p> <h2>Description</h2> <p>Here are some differences compared to this latter plugin.</p> <ul> <li>Pros <ul> <li>No need to rebuild the page containing the calendar each time day changes, or a page (indexed by the calendar) is added, changed or deleted. This is particularly useful if you want to have this calendar in the sidebar.</li> <li>Smooth navigation among months.</li> </ul></li> <li>Cons <ul> <li>Javascript <img src="../../smileys/sad.png" alt=":(" /> .</li> </ul></li> </ul> <h2>Usage</h2> <h3>Examples of directive</h3> <pre><code>[[!jscalendar type="month" ]] [[!jscalendar type="month" archivebase="calendar"]] [[!jscalendar type="month" year=2014 month=08 pages="posts/* and !posts/*"]] [[!jscalendar type="month" year=-1 month=08]] </code></pre> <h3>Setup file</h3> <p>This plugin uses the options used by the <a href="../calendar.html">calendar</a> plugin:</p> <pre><code>'archivebase' => "archive", 'archive_pagespec' => "posts/* and ! posts/*/*", 'week_start_day' => 1, 'month_link' => 1, </code></pre> <p>The <code>archivebase</code> and <code>archive_pagespec</code> can be overloaded by the very same options of the directive.</p> <h2>Example</h2> <p>You can see this plugin in action on <a href="http://www.gresille.org">our website</a>.</p> <p>Code and documentation can be found here : <a href="https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Jscalendar">https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Jscalendar</a></p> <p>-- Louis</p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>