This component can be used so you can conveniently include share buttons on other popular sites.
This component also automatically tracks clicks, and sends the information back to the Mediafactory for reporting.
Currently it supports creating share buttons for:
<fm:Sharelizer />
Name | Required | Default | Description |
---|---|---|---|
href | Optional | The current url | Use this attribute to specify which url should be shared. |
sites | Optional | digg,facebook,delicious,twitter | A comma-delimited list of sites which should show up here. By default all 4 will be displayed |
template | Optional | <li>%link</li> | A template for the links. This is set to <li>%link</li> by default. The %link portion will automatically be replaced |
theme | Optional | square | Icon theme. Currently supported themes are 'square' and 'round' |
It should noted that the 'sites' attribute must not contain spaces. The template attribute must be html-encoded, for example: <li>%link<li>
<p>Share this site!</p>
<ul>
<fm:Sharelizer sites="digg,reddit" template="<li>%link</li>" href="http://www.example.org/" />
</ul>
This would display something like:
Share this site!