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.
Hello.
Can someone tell me how to correctly render tweetbutton?
I have been fiddling around (and cache flushing) for a good 30mins and still haven't been able to make it.
This is what dev render shows me:
tweetbutton (Array, 2 elements)
#value (String, 283 characters ) <div class="tweetbutton"><a href="http://twitte...
#weight (String, 2 characters ) 10
And this is what I am using in my tpl code:
$tweet = tweetbutton($url);
But I can't make it work.
Any help and pointers will be greatly appreciated.
Comment | File | Size | Author |
---|---|---|---|
Capture001.png | 6.16 KB | mau.ferrusca |
Comments
Comment #1
mau.ferrusca CreditAttribution: mau.ferrusca commentedI believe the anwer to my question is here:
http://www.jerryjr.com/tags/twitter-button-drupal
Comment #2
jonhattanIn drupal 7 it is something like (untested):