Twitter Feed Widget your Mamp/Joomla! installation and trix for Tweet dynamics

Joomla open source CMS logo

At Twitter.com, feed widgets are available that you can customize and then incorporate [the generated html code] into a web page. I prefer the website/search format for its control and I have written some code and step-by-step on that that tells how to tweak and customize the search parameters so you can control and configure contributors – great for special event sor pages where you WANT public input with a # but you NEED to control it. But anyway, how do you get a feed into your Joomla site? For this demonstration’s sake, we’ll use fictional Twitter account MAMPj25. Go to the link and get some code.

Getting Your Demonstration Twitter Widget Search Code

Not just for a MAMP installation, this should work for server installations, as well.

;;
;
new TWTR.Widget({
version: 2,
type: ‘search’,
search: ‘MAMPj25’,
interval: 6000,
title: ‘This Is My Search Widget’,
subject: ‘To Joomla and Back!’,
width: 170,
height: 300,
theme: {
shell: {
background: ‘#e6dde5’,
color: ‘#7f3ae6’
},
tweets: {
background: ‘#88c9c9’,
color: ‘#f01a3e’,
links: ‘#1985b5’
}
},
features: {
scrollbar: true,
loop: true,
live: true,
behavior: ‘default’
}
}).render().start();
;

For “search query” enter MAMPj25. Copy the code. You can actually use the above code and substitute a real Twitter account and it will run.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s