• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..Today-

conf/H14-May-2018-2914

images/H14-May-2018-

lang/H14-May-2018-7024

CHANGELOGH A D05-Jun-2012227 126

LICENSEH A D05-Jun-201234.3 KiB674553

README.textileH A D05-Jun-20121.8 KiB4527

action.phpH A D05-Jun-20122 KiB6432

plugin.info.txtH A D05-Jun-2012207 77

script.jsH A D05-Jun-2012329 86

syntax.phpH A D05-Jun-20124.2 KiB156112

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