Philip P. Ide

Author, programmer, science enthusiast, half-wit.
Life is sweet. Have you tasted it lately?

User Tools

Site Tools


blog:articles:software:doku_dlcounter

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
blog:articles:software:doku_dlcounter [2019/05/15 17:33] – [Displaying in Tables] Phil Ideblog:articles:software:doku_dlcounter [2019/05/15 17:36] – [Displaying a counter for a single file] Phil Ide
Line 49: Line 49:
  
 An example in a more realistic use-case: An example in a more realistic use-case:
-<code>..blah blah blah widget.zip ({{dlcounter>file?software:downloads:widget.zip}} downloads).</code>+<code>..blah blah blah widget.zip (**{{dlcounter>file?software:downloads:widget.zip}}** downloads).</code>
 which  might output:\\ which  might output:\\
->..blah blah blah widget.zip (15 downloads).+>..blah blah blah widget.zip (**15** downloads).
  
 Note that if you request data for a file that doesn't exist, the plugin returns zero and not an error. It only knows about files that have been downloaded since the plugin was installed, so assumes everything else hasn't been downloaded yet, whether it is a real file or you've typed the name incorrectly or provided the wrong path. Note that if you request data for a file that doesn't exist, the plugin returns zero and not an error. It only knows about files that have been downloaded since the plugin was installed, so assumes everything else hasn't been downloaded yet, whether it is a real file or you've typed the name incorrectly or provided the wrong path.
blog/articles/software/doku_dlcounter.txt · Last modified: 2019/05/20 14:55 by Phil Ide

Except where otherwise noted, content on this wiki is licensed under the following license: Copyright © Phil Ide
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki