ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

twitter timeline plugin issues

November 17, 2009 10:21pm

Subscribe [3]
  • #1 / Nov 17, 2009 10:21pm

    AJP

    311 posts

    I’m having trouble getting the {count} and {switch} variables to work with the twitter timeline plugin.

    {exp:twitter_timeline type="user" user="***" password="***" limit="10" twitter_refresh="5"}
                <div class="tweet {switch="alt|"} {count}"><a href="http://twitter.comstatus/{id}">{created_at format="%m/%d %g:%i%a"}</a> — {text}</div>
            {/exp:twitter_timeline}

    Outputs:

    <div class="tweet alt 1">blah blah blah</div>
    <div class="tweet alt 1">blah blah blah</div>
    <div class="tweet alt 1">blah blah blah</div>


    Is it me? you? us?

  • #2 / Nov 18, 2009 1:53am

    Greg Aker

    6022 posts

    AJ:

    Are you using the most recent version of the plugin?

    What version of EE are you running and what extensions do you have installed?

    Is your test above on a simple, blank template?

    Moving to tech support since this is a 1st party plugin.

    -greg

  • #3 / Nov 18, 2009 10:37am

    AJP

    311 posts

    After moving it to a new template, it works correctly, which made me thing that since I’m using it within a weblog:entries tag, those variables take precedent.
    So, I’ll move it to an embed. Bingo bango bongo. Done.

  • #4 / Nov 18, 2009 11:47am

    Sue Crocker

    26054 posts

    Works for me. Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases