twitter feed Smarty error
Posted: Mon Dec 06, 2010 3:05 pm
I am trying to use a twitter feed and I am getting an error even when I try to put {literal}{/literal} tags around it, this is the error i get:
string(123) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag 'literl' (Smarty_Compiler.class.php, line 590)" string(279) "Smarty error: [in content:content_en line 4]: syntax error: unrecognized tag: version: 2, type: 'profile', rpp: 4, interval: 6000, width: 250, height: 300, theme: { shell: { background: '#333333', color: '#ffffff' (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 4]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(186) "Smarty error: [in content:content_en line 14]: syntax error: unrecognized tag: background: '#000000', color: '#ffffff', links: '#4aed05' (Smarty_Compiler.class.php, line 446)" string(118) "Smarty error: [in content:content_en line 14]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(249) "Smarty error: [in content:content_en line 18]: syntax error: unrecognized tag: scrollbar: false, loop: false, live: false, hashtags: true, timestamp: true, avatars: false, behavior: 'all' (Smarty_Compiler.class.php, line 446)" string(118) "Smarty error: [in content:content_en line 18]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(126) "Smarty error: [in content:content_en line 27]: syntax error: unrecognized tag '/literal' (Smarty_Compiler.class.php, line 590)"
This is my code I am using:
Does anyone know why this is happening? Any help would be most appreciated.
string(123) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag 'literl' (Smarty_Compiler.class.php, line 590)" string(279) "Smarty error: [in content:content_en line 4]: syntax error: unrecognized tag: version: 2, type: 'profile', rpp: 4, interval: 6000, width: 250, height: 300, theme: { shell: { background: '#333333', color: '#ffffff' (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 4]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(186) "Smarty error: [in content:content_en line 14]: syntax error: unrecognized tag: background: '#000000', color: '#ffffff', links: '#4aed05' (Smarty_Compiler.class.php, line 446)" string(118) "Smarty error: [in content:content_en line 14]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(249) "Smarty error: [in content:content_en line 18]: syntax error: unrecognized tag: scrollbar: false, loop: false, live: false, hashtags: true, timestamp: true, avatars: false, behavior: 'all' (Smarty_Compiler.class.php, line 446)" string(118) "Smarty error: [in content:content_en line 18]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(126) "Smarty error: [in content:content_en line 27]: syntax error: unrecognized tag '/literal' (Smarty_Compiler.class.php, line 590)"
This is my code I am using:
Code: Select all
<__script__ src="http://widgets.twimg.com/j/2/widget.js"></__script>
<__script__ type="text/javascript">// <![CDATA[
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('YesIAmShowbiz').start();
// ]]></__script>