Facebook Like-button (2.1)
by
Olha Pelishok
—
last modified
2010-07-21
Released on 2010-07-21 by Mikko Ohtamaa under LGPL - GNU Lesser General Public License available for All platforms.
Software development stage: stable
- Facebook Like-button download link: http://plone.org/products/facebook-like-button/releases
- Homepage of Facebook Like-button: http://plone.org/products/facebook-like-button
- Facebook Like-button repository: https://svn.plone.org/svn/collective/mfabrik.like
- Description source: https://svn.plone.org/svn/collective/mfabrik.like/trunk/README.txt
Adds a Facebook Like-button viewlet to Plone content pages. Because everybody loves Facebook (and mFabrik).
This Plone CMS add-on product adds the standard Facebook Like-button to Plone pages as a viewlet.
Usage
Add the following to your buildout.cfg:
eggs
...
mfabrik.like
Rerun buildout.
Restart Plone.
Like it.
Customization
- Subclass mfabrik.like.viewlets.LikeViewlet
- Override getIFrame(), getStyle() and like.pt
- Use a browser layer specific to your customization add-on product to override the default LikeViewlet
Changing the location
You want to do this in your site theming add-on product.
- Use @@manage-viewlets to hide the default instance
- Use ZCML to bind viewlet to a new location