Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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?
Comment | File | Size | Author |
---|---|---|---|
#9 | weight.patch | 2.67 KB | RobLoach |
#8 | weight.patch | 2.67 KB | RobLoach |
Comments
Comment #1
iaminawe CreditAttribution: iaminawe commentedI am also looking for assistance for this.
What is the code to make the retweet button appear in a template file?
Thanks
Comment #2
RobLoachRight 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?
Comment #3
jcarlson34 CreditAttribution: jcarlson34 commentedI would really like some advice on this too. I would like this printed next to my 'sharethis' button. Thanks!
Comment #4
Sam MooreI 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.
Comment #5
RobLoachWe might consider implementing hook_service_links from the Service Links module so that we could position these anywhere we want....
Comment #6
superflyman CreditAttribution: superflyman commentedThe 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...
Comment #7
ziobudda CreditAttribution: ziobudda commentedI 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.
Comment #8
RobLoachModifying 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...
Comment #9
RobLoachComment #10
ziobudda CreditAttribution: ziobudda commentedEhmm. Your patch is a modify to the tweetmeme module, like mine, but I have not reported it here.
M.
Comment #11
RobLoachIf 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.
Comment #12
michaeldhart CreditAttribution: michaeldhart commentedJust applied patch, and it works for me...I now have same weight functionality as similar modules...setting to reviewed.
Comment #13
RobLoachThanks!
http://drupal.org/cvs?commit=328710
http://drupal.org/cvs?commit=328708