It seems to me there's currently no way to have different settings for different view-modes.
As a simple solution, I suggest adding an hook for altering the $data_options array before calling sharethis_get_button_HTML() in sharethis_get_button_HTML().

CommentFileSizeAuthor
#1 2013393_settings-alter-hook_1.patch1.14 KBitamar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

itamar’s picture

Status: Active » Needs review
FileSize
1.14 KB

Patch adds the described hook.

yogeshmpawar’s picture

Issue summary: View changes
Status: Needs review » Needs work
+++ b/sharethis.module
@@ -342,6 +342,9 @@ function sharethis_node_view($node, $view_mode, $langcode) {
+      ¶

white space issue

yogeshmpawar’s picture

Assigned: Unassigned » yogeshmpawar
+++ b/sharethis.module
@@ -342,6 +342,9 @@ function sharethis_node_view($node, $view_mode, $langcode) {
+      ¶

white space issue

yogeshmpawar’s picture

Status: Needs work » Postponed (maintainer needs more info)
Chris Charlton’s picture

+1 (fan of View Modes)

yogeshmpawar’s picture

Assigned: yogeshmpawar » Unassigned