Not signed in ( Sign In)

Categories

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorkobeken
    • CommentTimeJun 21st 2010
     permalink
    Hi there,

    on the twitter website i have created a widget, but when I paste the code on my flatpress pages i get an error...
    this is the script... can someone help me?


    <script src="http://widgets.twimg.com/j/2/widget.js"></script>
    <script>
    new TWTR.Widget({
    version: 2,
    type: 'profile',
    rpp: 4,
    interval: 6000,
    width: 320,
    height: 350,
    theme: {
    shell: {
    background: '#ffaf36',
    color: '#ffffff'
    },
    tweets: {
    background: '#ff0d0d',
    color: '#ffffff',
    links: '#ebeb07'
    }
    },
    features: {
    scrollbar: true,
    loop: false,
    live: false,
    hashtags: true,
    timestamp: false,
    avatars: false,
    behavior: 'all'
    }
    }).render().setUser('Jkob_').start();
    </script>
    •  
      CommentAuthorChrisBlank
    • CommentTimeJun 21st 2010
     permalink
    What is the Error-Message?
    •  
      CommentAuthorkobeken
    • CommentTimeJun 21st 2010
     permalink
    Fatal error: Smarty error: [in sidebar.tpl line 27]: syntax error: unrecognized tag: version: 2, type: 'profile', rpp: 4, interval: 6000, width: 320, height: 350, theme: { shell: { background: 'ff6600', color: '#ffffff' (Smarty_Compiler.class.php, line 446) in /www/110mb.com/k/o/b/e/k/e/n/_/kobeken/htdocs/fp-includes/smarty/Smarty.class.php on line 1095
    •  
      CommentAuthorNoWhereMan
    • CommentTimeJun 21st 2010
     permalink
    put the code between
    {literal}
    {/literal}
    •  
      CommentAuthorkobeken
    • CommentTimeJun 21st 2010
     permalink
    thank you,