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 am using TweetMeme 1.2 and Panels 3.2.
http://yadadrop.com/drupal-video
I have setup a node template panel that allows me to customize the output of a particular node type. I have checked my node type and Panel from the settings page and checked full view and teaser:
http://DOMAIN/admin/settings/tweetmeme
But, the tweetmeme still isn't rendering. Any thoughts on how to get this to work in Panels?
Peace,
Brian
Comments
Comment #1
rishabhmhjn CreditAttribution: rishabhmhjn commentedI am also facing the same problem! I am using composite module to render block displays in a node. Nut the tweetmeme iframe is not showing up!
Comment #2
pribeh CreditAttribution: pribeh commentedWe need TweetMeme in a block. Thanks for the great module.
Comment #3
leovw CreditAttribution: leovw commentedI am needing to do the same thing... Has anybody come up with a work around?
Thanks - Leo
Comment #4
pribeh CreditAttribution: pribeh commentedWell, the following is what we would use in a node.tpl.php:
Comment #5
kingswoodute CreditAttribution: kingswoodute commentedFantastic module,
When I try to use this in a custom node tpl.php file and use the code above in Drupal 7 I get the following error;
Notice: Undefined index: #value in include() (line 126 of /home/content/74/8367674/html/sites/all/themes/zensub/node--daily.tpl.php).
Has something maybe changed between 6 & 7 in the syntax?
This may be a stupid question but any help would be hugely appreciated.
Comment #6
john.oltman CreditAttribution: john.oltman commentedYou'll have to print the content array to see what's in there. I'm guessing it should be something like this instead:
<?php print $node->content['tweetmeme']['#markup']; ?>
But to be sure, do this to debug:
<?php print '<pre>'.print_r($node,1).'</pre>'; exit; ?>
Search on all occurrences of tweetmeme in the debugging output and you should find it.
And yes, there are lots of changes between D6 and D7 in terms of the way content is output with Drupal in general.
Comment #7
kingswoodute CreditAttribution: kingswoodute commentedLove your work.
Thanks very much.