DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:timeline2

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:timeline2 [2011-06-23 17:20] 50.46.244.249plugin:timeline2 [2016-04-29 11:43] (current) – [Discussion] 87.223.101.51
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description:  +description: Add TimeLine capability to DokuWiki 
-author     :  Lasse Ristig +author     : Lasse Ristig 
-email      :  ristigl@ratsgymnasium-pe.de +email      : ristigl@ratsgymnasium-pe.de 
-type       : +type       : syntax
 lastupdate : 2011-04-26 lastupdate : 2011-04-26
-compatible : +compatible : Angua
 depends    :  depends    : 
 conflicts  conflicts 
Line 13: Line 13:
 tags       : timeline, time tags       : timeline, time
  
-downloadurl: # eg. http://github.com//dokuwiki-plugin-timeline2/zipball/master +downloadurl: # eg. https://github.com//dokuwiki-plugin-timeline2/zipball/master 
-bugtracker : # eg. http://github.com//dokuwiki-plugin-timeline2/issues +bugtracker : # eg. https://github.com//dokuwiki-plugin-timeline2/issues 
-sourcerepo : # eg. http://github.com//dokuwiki-plugin-timeline2/+sourcerepo : # eg. https://github.com//dokuwiki-plugin-timeline2/
 donationurl:  donationurl: 
 ---- ----
- 
  
 ===== Installation ===== ===== Installation =====
Line 24: Line 23:
 Refer to [[:Plugins]] on how to install plugins manually. Refer to [[:Plugins]] on how to install plugins manually.
  
-Create a folder in the plugin-directory named timeline2, then copy the following syntax.php an style.css into that folder.+Create a folder in the plugin-directory named timeline2, then copy the following syntax.php and style.css into that folder.
  
 ====syntax.php==== ====syntax.php====
Line 367: Line 366:
         padding-bottom:1.8em;         padding-bottom:1.8em;
         display:none;         display:none;
-        width:100%; +        bottom:1em;
-        top:-2.8em;+
         left:-1px;         left:-1px;
         border:1px solid black;         border:1px solid black;
Line 433: Line 431:
 hmm hmm
 </code> </code>
 +
 +==== HTML output ====
 {{http://img716.imageshack.us/img716/4994/timeline2.png?nolink&400|}} {{http://img716.imageshack.us/img716/4994/timeline2.png?nolink&400|}}
 +
 +==== LaTeX output ====
 {{http://img263.imageshack.us/img263/2108/timeline2pdf.png?nolink&400|}} {{http://img263.imageshack.us/img263/2108/timeline2pdf.png?nolink&400|}}
  
Line 467: Line 469:
  
 ===== FAQ ===== ===== FAQ =====
- 
 //[discussions should ideally be deleted and turned into FAQ entries along the way]// //[discussions should ideally be deleted and turned into FAQ entries along the way]//
 +
 +  - How do I get this working with Latex?  Installing the Latex plugin doesn't seem to be enough.
  
 Hi, I get the following error everytime I save a page that contains a timeline:\\ Hi, I get the following error everytime I save a page that contains a timeline:\\
Line 486: Line 489:
 Much better then my own! 8-) , Wbr, Oleg Karachevtsev Much better then my own! 8-) , Wbr, Oleg Karachevtsev
  
 +:?: Question: is the plugin running well right now? I tried to install it but have problems which means that the charts are not displayed but rows of numbers (weeks)?
 +
 +==== Issue: Declarations handle/render mismatch? ====
 +
 +This plugins works here, but i get this warning messages, top of the webpage.
 +
 +<code php>
 +Warning: Declaration of syntax_plugin_timeline2::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in C:\xampp\htdocs\dokuwiki\lib\plugins\timeline2\syntax.php on line 289
 +
 +Warning: Declaration of syntax_plugin_timeline2::render($mode, &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in C:\xampp\htdocs\dokuwiki\lib\plugins\timeline2\syntax.php on line 289
 +</code>
 ===== Proposal ===== ===== Proposal =====
 I modified the code to allow for alternate date formats (see new constants) so that we in countries that insist on continuing to do things the nonsensical way can use this awesome plugin with m/d/Y. I modified the code to allow for alternate date formats (see new constants) so that we in countries that insist on continuing to do things the nonsensical way can use this awesome plugin with m/d/Y.
plugin/timeline2.txt · Last modified: 2016-04-29 11:43 by 87.223.101.51

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