Our Tweets in 2.3?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Steve Hanson's picture

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

resveld's picture

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

Steve Hanson's picture

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

Steve Hanson's picture

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

Steve Hanson's picture

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

Gmal's picture

What would you need to do in order to pull feeds from multiple sources?

If you're referring to

IFAM's picture

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

Gmal's picture

Thank you for your help. It's much appreciated.

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week