We need to have more than one sharebar on one page. It would be good to specify an arbitrary number of DOM containers to do this.

Comments

cameron tod’s picture

Here is a patch that adds multiple sharebar support to gigya_sharebar.js. Additional sharebars can be added by implementing hook_node_view or gigya_sharebar_alter().

cameron tod’s picture

Status: Active » Needs review
elijah lynn’s picture

Just a heads up to let you know that I noticed this commit on October 25th that adds support to the dev branch for multiple share bars.

http://drupalcode.org/project/gigya.git/commit/a4bf730

gambaweb’s picture

Status: Needs review » Closed (fixed)

multiple sharebars and reactions bars are in the dev version now and will be included in the upcoming version

sokrplare’s picture

This is amazing - was just going to start writing a patch for this.

For those using this, note that you need to go to the Manage Display tab of your content type where you have more than one share bar field added. Then override the settings for the second share bar and be sure to give it a different Container ID, otherwise when the second field loads it just overwrites the first field and appears to be broken.