You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download the jquery-code from http://www.heise.de/extras/socialshareprivacy/ , extract it and put it in your libraries folder Example: sites/all/libraries/ > sites/all/libraries/secureshare
Go to admin/build/modules and enable secureshare and secureshare_block or secureshare_field or both.
Got to the settings (block or content type) and select an profile
Configuration:
Profiles:
You can create your own settings profile under Configuration > content authoring SecureShare profiles ("admin/config/content/secureshare").
Submodule: secureshare_blocks
The submodule provides a simple block you can select the profile in the normal block settings
Submodule: secureshare_fields
This submodule provides a simple element field implementation for entities. Currently only node bundles are activated. You can select the profile in the content type settings and under the display view settings you can change the visibility and position.
Known problems:
the css file in the heise library seems broken some stylings. Its not part of this module to fix these things.
But you can use hook_css_alter or theme to replace them. Or you can override the failures in your theme css. Feel you free to send an issue to heise.de to fix the css code ;)
Developers:
The core module uses hook_element_info() so you can use in your module like other drupal render elements.
#type need to be set to "secureshare"
#secureshare_profile is the machine name of the secureshare settings profile. Example: "default"
#secureshare_config (optional) is a array with the heise plugin settings. Options will be merged over the profile settings.
Example (profile usage / configuration overwrite):
#secureshare_config will be merged over the profile settings.
'secureshare',
'#secureshare_profile' => 'default',
'#secureshare_config' => array(
'css_path' => '/my/path/to/css/file.css',
),
);
?>
Example (configuration alter):
You can also alter the configuration settings before used in pre render by.
Drupal 6
We don't create a Drupal 6 version of this module but back port patches are welcome.
Similar modules
You can see in the Issues that we had a duplicate module problem but is unfortunately not yet clarified how it goes next. This module here has a Sandbox project before the other project was released so we got a simple time overlapping problem.
Disclaimer
The original Javascript Plugin was created under the MIT License by: Heise Zeitschriften Verlag GmbH & Co. KG and can be downloaded under: http://www.heise.de/extras/socialshareprivacy/
Implement an second click for Facebook, Google+ and Twitter in Drupal 6 and Drupal 7, so data will only be send after confirm from user. More description coming soon...