Table of Contents
Download and Installation
If the above url does not load from your plugin manager, use this one: http://www.mturner.org/userfiles/credits.tar.gz
Syntax and Usage
Credits is a highly configurable plugin for displaying credits for DokuWiki plugins. Using the configuration manager, all of the CSS settings can be changed, as well as the title (Plugins) and subtitle (Credits) strings.
The syntax is one of the following:
<<CREDITS:>> <<CREDITS:~nodesc~>> <<CREDITS:user_defined_function>>
The first form will use the default rendering, subject to any changes in settings made in the Configuration Manager.
The second form will turn off the printing of the plugin descriptions. This is the desc field returned by the plugin’s getInfo() method. The descriptions can also be turned off in the Configuration Manager.
The third form will invoke a user-defined function for formatting the the output. There is a sample user-defined function in the syntax.php file:
$info has access to all of the fields returned by the getInfo() function of each plugin; alt_credits() will print out the following information for each plugin on your system:
author: Jack Smith
email: firstname.lastname@example.org date: 2010-11-24
name: My plugin
desc: Does my Stuff
The default credits page displays the plugin name and author (as email link). When running mouse cursor over the author, the year of the plugin is displayed in a tooltip. In the cases of plugin descriptions which are too long for a single line, the description will be truncated and an arrow placed at the end of the line. Running the mouse cursor over the author or over the the arrow will cause the rest of the description to appear below the truncated description line. This is illustrated in the example linked to below.
Sample Credits Display
- updated info (2018-05-25 03:53)
- Merge branch 'master' of github.com:turnermm/Credits (2016-07-31 12:57)
- update info (2016-07-31 12:56)
- Merge pull request #1 from splitbrain-forks/php7-signature (2016-01-22 17:57)
- Adjust method signatures to match parent (2016-01-22 17:30)
- fix for missing email address in plugin.info (2015-10-01 20:28)
- fixed fatal error: failure to find getInfo in plugins where not imple… (2015-09-30 18:45)
- plugin.info.tct (2014-05-28 17:14)
I think a link to the page of the plugin on SplitBrain would be cool too. And to me the mailto: seems a bit useless. Great plugin!!! — Christophe Gragnic 2007-11-10 13:40