I was wondering if you'd be able to point out how I could go about repositioning the retweet button to print out below the content (body) of a node (the diggthis module does this). Or should I make this into a feature request?

CommentFileSizeAuthor
#9 weight.patch2.67 KBRobLoach
#8 weight.patch2.67 KBRobLoach
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

iaminawe’s picture

I am also looking for assistance for this.

What is the code to make the retweet button appear in a template file?

Thanks

RobLoach’s picture

Status: Active » Needs work

Right now you can't make it available in the template, but I'd love to make this available. You can't, however, change the position with CSS. Maybe with Service Links 6.x-2.x-dev?

jcarlson34’s picture

I would really like some advice on this too. I would like this printed next to my 'sharethis' button. Thanks!

Sam Moore’s picture

I agree these options would be nice to have.
The TweetMeme people suggest top-left positioning, as they say they see a definite difference in effectiveness (https://www.openforum.com/idea-hub/topics/the-world/article/the-inside-s... - see question 8); but in any case themers would love to have more control over where the button shows up etc.

RobLoach’s picture

Version: 6.x-1.2 » 6.x-1.x-dev

We might consider implementing hook_service_links from the Service Links module so that we could position these anywhere we want....

superflyman’s picture

The Digg This module allows you to set a weight for the button to appear above or below the posting. Something similar in this case might make sense. Just a thought...

ziobudda’s picture

I have modified tweetmeme module so now I can control the weight for teaser and full display.

If someone want it send me an email (via contact).

M.

RobLoach’s picture

Title: Help repositioning the Retweet.. » Ability to change the weight of the button
Status: Needs work » Needs review
FileSize
2.67 KB

Modifying the TweetMeme module isn't that good a solution as you'll loose those changes when you upgrade the module. Maybe something like this is what you want...

RobLoach’s picture

FileSize
2.67 KB
ziobudda’s picture

Ehmm. Your patch is a modify to the tweetmeme module, like mine, but I have not reported it here.

M.

RobLoach’s picture

Component: Miscellaneous » User interface
Category: support » feature

If you review it, and it works and you're happy with it, then if you set the issue to "reviewed & tested by the community", then I'd be more then happy to commit it.

michaeldhart’s picture

Status: Needs review » Reviewed & tested by the community

Just applied patch, and it works for me...I now have same weight functionality as similar modules...setting to reviewed.

RobLoach’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.