Just contributing it for anyone who may come across to use forward module integrated with sexybookmarks and also for consideration of maintainers of sexybookmarks to add support of forward module in sexybookmarks as it offers a great deal of flexibility to administrate and track emailed links.
I wanted sexybookmarks to make my site use forward module with its mailto link and I did the following tweaks in code of sexybookmarks.
In the file sexybookmarks.inc alter the 'mail' array at line 146.
You would have to replace array item 'url' at line 149 with the following line
'url' => '{FORWARD_LINK}',
and in the file sexybookmarks.module find "// Replacement tokens" and alter the $tokens array by adding a line
'{FORWARD_LINK}'=> url('forward', array('absolute' => TRUE, 'query'=>'path=node/'. $variables['node']->nid)),
beneath,
'{TITLE}' => urlencode($variables['node']->title),
Save the files and make sure forward module is enabled.
Now you are good to go using sexybookmarks with forward module integrated
Comments
Comment #1
decipheredThe 6.x-2.x/7.x-2.x branches currently don't allow for 3rd party services as I am using the SexyBookmarks JS engine to handle the services instead of handling them myself (better for maintainability).
I will be looking to re-implement this in the future and will be more than happy to attempt some integration with the Forward module. Aiming for this in 6.x-2.1/7.x-2.1.
Cheers,
Deciphered.
Comment #2
webankit commented+1
how to do this in 7.x
Comment #3
webankit commentedComment #4
guillaumeduveau+1 for the integration of Forward or another "share by mail" module.
Comment #5
shareaholic commentedSexyBookmarks module is no longer being actively maintained. It was a port of Shareaholic for WordPress, and Shareaholic has since released an official Drupal module:
http://drupal.org/project/shareaholic
Please migrate to the official Shareaholic for Drupal module, which has updated buttons, styles, services, 100% mobile-ready and much more! You can learn more here: https://blog.shareaholic.com/drupal-module/
Comment #6
shareaholic commented