Jump to:

11004 Posts in 2735 Topics by 1824 members

All other Modules

SilverStripe Forums » All other Modules » Twitter Feed Widget ?

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1917 Views
  • Ben_W
    Avatar
    Community Member
    80 Posts

    Twitter Feed Widget ? Link to this post

    I have just tried out the Twitter Module, it does what it says, however, I am looking for a widget which I can drop into a set of pages, not to create a separate page. The other Twitter Widget seems to be a add-on of the blog module, I might be wrong.

    could anyone point me to the right direction please? If say I need implement twitter php api library, how do I construct the twitter feed into silverstripe dataobject, so that I can separate the logic away from the template(.ss pages)

    Format of the feed:

    RT @WebBasedApps Eric Schmidt on technology, innovation & the global economy http://bit.ly/46E60w
    about 2 hours ago from web

    RT @NASA Weather could be an issue, but we're targeting 8:20a ET for launch of a Delta II from Cape Canaveral - www.nasa.gov/ntv
    about 2 hours ago from web

    ....

    Cheers

  • Willr
    Avatar
    Forum Moderator
    5511 Posts

    Re: Twitter Feed Widget ? Link to this post

    Have alook at the blog twitter widget - even if you are not using widgets you could copy the functionality from that widget to your Page.php file (and the related html for TwitterWidget.ss to your Template file).

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Twitter Feed Widget ? Link to this post

    Or you could use a jQuery based approach: http://www.webresourcesdepot.com/3-jquery-twitter-plugins-adding-tweets-to-your-website/
    For my Website I'm using the coda twitter plugin (http://coda.co.za/blog/2008/10/26/jquery-plugin-for-twitter). It's really easy to setup, and if you only want it on certain pages, you could always add a boolean/checkbox to your page that will then be used to decide whether or not to include the twitter feed.

  • biapar
    Avatar
    Forum Moderator
    435 Posts

    Re: Twitter Feed Widget ? Link to this post

    Where is this code in actual blog module?

    1917 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.