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

rishabhmhjn’s picture

I 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!

pribeh’s picture

We need TweetMeme in a block. Thanks for the great module.

leovw’s picture

I am needing to do the same thing... Has anybody come up with a work around?

Thanks - Leo

pribeh’s picture

Well, the following is what we would use in a node.tpl.php:

<?php print $node->content['tweetmeme']['#value']; ?>
kingswoodute’s picture

Version: 6.x-1.2 » 7.x-1.1

Fantastic 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.

john.oltman’s picture

You'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.

kingswoodute’s picture

Love your work.

Thanks very much.