Adds viewlets for embedding codes such as social buttons for Plone.
Project description
This package provides viewlet to embed social button to Plone site. The viewlet can be assigned to wherever viewlet managers through the web. Since restrictions for the embedded code are not set, you need to be cautious about the security risk with the embedding code.
Further Documentation URL
Repository URL
Configuration
Once the package is installed through Site Setup Add-ons, there appears Social Button Code Setting and Social Button Configuration links within the Add-on Configuration section.
To start the configuration, go to Social Button Code Setting first to set the embedding code.
Code variables
- ${title}
Title of the context.
- ${description}
Description of the context.
- ${url}
URL for the context
- ${lang}
Language in use like en.
- ${lang_country}
Locales including country code such as en_US.
- ${portal_url}
Plone site root URL.
Once Social Button Code Setting is set, you can go to Social Button Configuration for the farther configuration.
Change log
0.10.2 (2013-11-12)
Bug fix for context which does not have type info. [taito]
0.10.1 (2013-08-08)
Fix test. [taito]
0.10 (2013-05-01)
Removed dependency from five.grok. [taito]
Integrated Travis CI. [taito]
Moved test packages to extras_require. [taito]
0.9 (2012-11-13)
Added permission: hexagonit.socialbutton: Manage Social Button to manage social button. [taito]
0.8.1 (2012-09-28)
Fixed bug for multiple line code. [rnd, taito]
0.8 (2012-09-20)
Added dependency to Plone>=4.2.1 and removed dependency to plone.stringinterp>=1.0.7 since Plone-4.2.1 includes it. [taito]
0.7 (2012-08-22)
Dependency to plone.stringinterp>=1.0.7 added to make string interpolation available in the context of Plone Site root. [taito]
0.6 (2012-08-21)
Added guards for cases of None to the upgrade step [rnd]
0.5 (2012-08-17)
Updated registry.xml to enable import and export. [taito]
Switched to use plone.stringinterp instead of format method for string interpolation in embedding codes. [taito]
0.4 (2012-08-13)
Fixing typo. Po-files initialized. Some translations. [rnd]
Fixing the problem with some views: guarding the viewlet [rnd]
google-plus image added [taito]
0.3 (2012-08-08)
Added class for styling against viewlet managers. [rnd]
0.2 (2012-08-02)
Uninstall profile to remove registry records added. [taito]
UnicodeDecodeError for context title and description fixed for the viewlet. [taito]
Added ‘Plone Site’ to the configurable content types. [taito]
0.1 (2012-07-31)
Initial release for use. [taito]
0.0 (2012-07-24)
Initial release. [taito]
Contributors
Kai Lautaportti <kai.lautaportti at hexagonit.fi>
Roman Susi <roman.susi at hexagonit.fi>
Taito Horiuchi <taito.horiuchi at gmail.com>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Social Button Code Setting
The ID will be used for farther configuration and styling.
The code to be embedded to viewlet.
Example to set values from file system code:
Example to register through registry.xml: