Compatible avec DokuWiki
Hrun
Cette extension n'a pas été mise à jour par ses developpeurs depuis plus de deux ans. Elle pourrait ne plus être maintenue ou comporter des problèmes de compatibilité.
External requirements: This plugin requires the following additional components that must be installed separately:
Install the plugin using the Extension Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Then adjust your template and integrate the following code where you want the rating controls to appear:
<?php $rating = plugin_load('helper', 'rating'); if($rating) $rating->tpl(); ?>
Be sure to have integrated the plugin into your template as described above. Syntax is only available for outputting aggregated data. Data input is handled through template integration only.
Inserting the tag {{rating}}
will create a list of the ten best rated pages.
{{rating}} {{rating|startdate=2014-07-01}} {{rating|lang=en}} {{rating|startdate=2014-07-01,lang=en}}
If you have the translation plugin installed you can filter the pages by language:
{{rating|lang=$langprefix}}
You can specify the starting-date from which the rating is computed. The Format for is YYYY-MM-DD
.
{{rating|startdate=$startdate}}
By default the list uses bullet points, which can be changed to a numbered list by adding the tag=ol
option:
{{rating|tag=ol}}
You can show the score of each item by adding the score=true
option:
{{rating|score=true}}
Please report bugs and issues at: https://github.com/cosmocode/dokuwiki-plugin-rating/issues