Table of Contents
Facebook Like-Button Plugin
Compatible with DokuWiki
No compatibility info given!
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to facebook, fbcomments, fbsp, socialshareprivacy
I looked for a realy good Facebook like-button plugin for DokuWiki but there were only Facebook Plugin and fbsp Plugin. The first one only creates a big fat like-box and the second one is too simple. So I created a plugin on my own.
- You can fully customize the appearance.
- Easy usage.
- Text-Editor button.
Plugin configuration is available in following languages: German, English.
Icon of the text editor button by Yusuke Kamiyamane.
To use this Plugin you need the following system:
- PHP >= 5.1.2
- DokuWiki >= 2009-02-14b
In Admin → Configuration settings you can change various settings. You can modify and redistribute it under the terms of the GPL Version 3.
Adding the following code will insert a default Facebook like-button (with the default settings) on the current page. You can modify the default settings on the wiki configuration page (Admin → Configuration settings).
If you want you can modify the default settings by adding one or more parameters.
| ||String||Page that should be liked. Must be a valid address (e.g. http://example.com/)|
| ||String|| Determines the size and amount of social context next to the button:
| ||Boolean||Display faces of friends who likes the specified url. Effects layout “standard” only!|
| ||Integer||Width of the “reserved” area.|
| ||String|| The verb to display in the button:
| ||String|| The font of the button:
• Segoe UI
• Lucida Grande
• Trebuchet MS
| ||String|| Colors of the buttons:
You can try out different combinations on the official Facebook developer page.