Posted by Steve Hanson on February 23, 2011 at 1:24am
I've just started building an Openpublish site, and one thing currently has me bewildered. How do you configure the arguments for twitter pull so that the our tweets block shows the tweets you want to use? All I see is a mention that the documentation is old, and I've found some things on older 2.x versions of openpublish - but I've looked all over and I cannot seem to find this documented
Comments
what you need to do is
what you need to do is outlined in the project page of twitter_pull.
<?php
if (function_exists('twitter_pull_render')) { print twitter_pull_render('@openpublish', 'OpenPublish', 10); }
?>
1) Just change the @openpublish to your @name
2) Change 'OpenPublish' to Your real name (or what you like)
3) Change 10 to the number of tweets you like
-Ronald
But --
What file are we talking about? I can't find this anywhere in 2.3
Steve Hanson
Cruiskeen Consulting LLC - http://www.cruiskeenconsulting.com
Ah
I finally found where this is defined. It's in openpublish_core/openpublish_core.module. There must be some better way to change this than hacking the module?
Steve Hanson
Cruiskeen Consulting LLC - http://www.cruiskeenconsulting.com
Ah okay
I see --- I overrode this function in the theme, and now all is good.
Steve Hanson
Cruiskeen Consulting LLC - http://www.cruiskeenconsulting.com
What would you need to do in
What would you need to do in order to pull feeds from multiple sources?
If you're referring to
If you're referring to creating nodes (content) from feeds, you'll need to use either the core modules such as 'feeds news'/'aggregator' or other modules such as 'feed api'.
Read the documentation for those modules for instructions.
If you're just referring to pulling different twitter feeds into that block, then just use a Twitter aggregator such as; http://www.toprankblog.com/2009/02/12-twitter-stream-aggregators/
Thank you for your help. It's
Thank you for your help. It's much appreciated.