Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | Today | - | ||||
conf/ | H | 14-May-2018 | - | 29 | 14 | |
images/ | H | 14-May-2018 | - | |||
lang/ | H | 14-May-2018 | - | 70 | 24 | |
CHANGELOG | H A D | 05-Jun-2012 | 227 | 12 | 6 | |
LICENSE | H A D | 05-Jun-2012 | 34.3 KiB | 674 | 553 | |
README.textile | H A D | 05-Jun-2012 | 1.8 KiB | 45 | 27 | |
action.php | H A D | 05-Jun-2012 | 2 KiB | 64 | 32 | |
plugin.info.txt | H A D | 05-Jun-2012 | 207 | 7 | 7 | |
script.js | H A D | 05-Jun-2012 | 329 | 8 | 6 | |
syntax.php | H A D | 05-Jun-2012 | 4.2 KiB | 156 | 112 |
README.textile
1h1. Facebook Like-Button 2 3p. I looked for a realy good Facebook like-button plugin for Dokuwiki but there were only Facebook (http://www.dokuwiki.org/plugin:Facebook) and fbsp (http://www.dokuwiki.org/plugin:fbsp) . 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. 4 5h2. Features 6 7# You can fully customize the appearance. 8# Easy usage. 9# Text-Editor button. 10 11p. Plugin configuration is available in following languages: German, English 12 13p. Icon of the text editor button by Yusuke Kamiyamane (http://p.yusukekamiyamane.com/). 14 15h2. Requirements 16 17p. To use this Plugin you need the following system: 18 19* PHP >= 5.1.2 20* Dokuwiki >= 2009-02-14b 21 22h2. Usage 23 24p. 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 ). 25 26bc. {{like>}} 27 28p. If you want you can modify the default settings by adding one or more parameters. 29 30bc. {{like>url=http://example.com/|colorscheme=dark}} 31 32h3. Supported parameters 33 34| url | Page that should be liked. Must be a valid address. (e.g. http://example.com/) | 35| layout |Determines the size and amount of social context next to the button. (standard/button_count/box_count) | 36| show_faces | Display faces of friends who likes the specified url. Effects layout "standard" only! (true/false) | 37| width | Width of the "reserved" area. (integer, e.g. 450) | 38| action | The verb to display in the button. (like/recommend) | 39| font | The font of the button. (arial/verdana/segoe ui/tahoma/lucida grande/trebuchet ms) | 40| colorscheme | Colors of the buttons. (light/dark) | 41 42h2. Examples 43 44p. You can try out different combinations on the official Facebook developer page. (http://developers.facebook.com/docs/reference/plugins/like) 45