Closed (fixed)
Project:
ShareThis
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2015 at 14:09 UTC
Updated:
13 Jun 2016 at 12:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jpcondon commentedHere is a patch that modifies the attributes array within theme_sharethis in the sharethis.module to put it within the variables array. This creates the ability for modules to add their own implementations of theme_sharethis and pass the attributes array to the function with any overrides they may need based on their use case. Some examples include adding st_summary and st_image attributes or overriding the default st_title and st_url implementations.
Comment #3
nitesh sethia commentedThis patch works as expected. So changing the status of it to Reviewed and Tested by community so that we can port this patch in the next release of Sharethis module.
Comment #4
purushotam.rai commentedComment #6
purushotam.rai commentedComment #7
navneet0693 commentedThrows certain errors.
Comment #8
navneet0693 commentedThis will lead to undefined index error. Also, I didn't understood the it must be:
$variables['attributes'] = $attributesComment #9
navneet0693 commentedComment #10
navneet0693 commentedComment #12
navneet0693 commentedComment #13
yogeshmpawarPatch is working fine & errors are gone.
Comment #14
yogeshmpawarComment #15
naveenvalechapatches always automated tested against the branches.
Comment #17
purushotam.rai commented