This plugin adds social media buttons to the footer of each page. It implements shariff by heise (Github, article) in Open Monograph Press.
Clone this repo in your plugin folder or download the code and tar.gz it and upload it via the gui.
The front end can be used to display the buttons themselves. Available social media services are:
- Google+
An info button that links to the heise article can be added.
The following settings are available:
- select buttons (Facebook, Twitter, Google+, Info)
- select language (Deutsch, English)
- select theme (Standard, White, Grey)
- add backend-url
To display the numbers of likes, tweets and plus-ones, shariff uses a backend. This plugin uses the [php backend] (http://github.com/heiseonline/shariff-backend-php).
To set up the backend you need to have access to the code. Follow the steps:
- Copy the folder
shariff-backend
to the top level of your OMP installation. - Make the folder
cache
writeable. - Change the
domain
inshariff.json
to your domain. - Add the url of the backend at the settings page. Example:
http://your-press.org/shariff-backend
.