Jump to:

794 Posts in 408 Topics by 304 members

Widgets

SilverStripe Forums » Widgets » TwitterWidgetPack

Discuss SilverStripe Widgets.

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

Page: 1
Go to End
Author Topic: 1396 Views
  • dacar
    Avatar
    Community Member
    168 Posts

    TwitterWidgetPack Link to this post

    Hi,

    does anybody know how to set the sort order for the displayed tweets to Date DESC? I have already searched google and the twitter api but did not find a hint.

    new TWTR.Widget({
    version: 2,
    type: 'profile',
    rpp: 4,
    interval: 6000,
    width: 250,
    height: 300,
    theme: {
    shell: {
    background: '#333333',
    color: '#ffffff'
    },
    tweets: {
    background: '#000000',
    color: '#ffffff',
    links: '#4aed05'
    }
    },
    features: {
    scrollbar: false,
    loop: false,
    live: false,
    hashtags: true,
    timestamp: true,
    avatars: false,
    behavior: 'all'}}).render().setUser('usernameHere').start();

    Greetings, Carsten.

  • MjamTaart!
    Avatar
    Community Member
    5 Posts

    Re: TwitterWidgetPack Link to this post

    I subsribe, cause I also like to know.

    Strange thing is, if you look at the example on the Twitter website, the order is in reverse.

  • dacar
    Avatar
    Community Member
    168 Posts

    Re: TwitterWidgetPack Link to this post

    Hi Mjam,

    even on Hamish's website it is sorted the other way round. I have send him an email a few days ago, but still no response. I will share, if i get an answer.

  • borriej
    Avatar
    Community Member
    267 Posts

    Re: TwitterWidgetPack Link to this post

    up! how do you reverse the twitter module? so the latest tweet on top?

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: TwitterWidgetPack Link to this post

    I don't believe it can be sorted - the JavaScript API that powers the widget is supplied by Twitter (see http://twitter.com/about/resources/widgets/). As far as I know there is no explicit ordering option, although there could be some undocumented behaviour I'm not aware of.

  • borriej
    Avatar
    Community Member
    267 Posts

    Re: TwitterWidgetPack Link to this post

    Im very curious how other people are dealing with this issue!

  • biapar
    Avatar
    Forum Moderator
    435 Posts

    Re: TwitterWidgetPack Link to this post

    Where is this mod?

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