Drupal tweetmeme content type not working
I had installed tweetmeme on my drupal website, it was working great on the content type ‘page’ but not on my customized content types like news and blog.
I spend hours finding the solution, going through all the complicated scenarios, cursing drupal, hating life etc and then as usual the solution was very easy and it hit in a second showing me the light in the dark tunnel and i declare my love for drupal again. Ok ok enough of gibberish the solution is mentioned below.
Contemplate was the answer. I had used contemplate for theming purposes, but after tweetmeme we have to add
<?php print $node->content['tweetmeme']['#value'] ?>
in the contemplate box.
Then make sure the website is not in maintenance mode, and voila you can see the beautiful green box saying ‘retweet’ ![]()
Great post! I have been reading your website for awhile now and wanted to stop by to say hi. You have some pretty good info here! A friend of mine recently started a forum/social network that you should come chat at – http://www.shareworx.com – it would be great to have you there. Keep it up!
Thanks for inviting me, will surely try but you know how it is .. life is always short on time!
If you know any PHP / Drupal programmers who are interested in any freelancing work do let me know.