Project:Digg this
Version:5.x-1.3
Component:Code
Category:feature request
Priority:minor
Assigned:yaph
Status:closed (fixed)

Issue Summary

Though hacking modules isn't recommended, if you would like to create your own custom style for this digg this button you can do the following. Simply replace the the following code in diggthis.module:

return '<div class="diggthis">'. $digg_js .'</div>';

with:

return '<div class="diggthis">'. l('digg this!', 'http://digg.com/submit?phase=2&url='. $url .'&title='. $title .'&bodytext='. $teaser .'&topic=business_finance') .'</div>';

Then simply theme the class "diggthiss".. which I added a button background.

Comments

#1

Since this takes out the script, wouldn't this make the DiggThis button static? (no longer displaying the # of diggs).

Also, no image is displayed...

#2

Assigned to:Anonymous» yaph
Status:active» closed (fixed)

You can use the service links module, if you want to have static text or button.
Check out http://drupal.org/project/service_links