Friday, 14 January 2011

How to ... add a Twitter Feed to your Website

Yup, it's that time of the week again. Doesn't time fly?

This week I'll show you how to display your Tweets (or Twitter Feed) on your website or Blogger Blog using the Twitter Widget. This post does assume that you have a Twitter account and are using the 'new' version of Twitter, and have a website or blog to add it too!

1. First of all log in to your Twitter account, then click on your Twitter name in the top bar (highlighted by the pink arrow below) to access the menu & choose 'Settings'.


Screen shot from http://www.twitter.com/picseli on 14th January 2011

2. On the 'Settings' page click the 'Profile' tab and under where you can add a web address, you should see a message that says '(You can also add Twitter to your site here)', check out the pink arrow in the picture below, and click it - the link, not the pink arrow:

Screen shot from http://www.twitter.com/picseli on 14th January 2011

3. You'll then see a screen asking you to 'Select Your Widget'....

Screen shot from http://www.twitter.com/picseli on 14th January 2011

4. Choose 'My Website' and you'll get the following options:

Screen shot from http://www.twitter.com/picseli on 14th January 2011

Twitter explains pretty well what they do, so I won't go into that. To display your tweets click on the first option 'Profile Widget'.

5. On the next screen, on the right hand side, you'll see an example of how your feed will look. As you make chenges this will change so you can see exactly what you'll get. Check your username and if you are happy with what you've got, click the 'Finish & Grab Code' button and head to Step 9 below.

Screen shot from http://www.twitter.com/picseli on 14th January 2011

6. On the Preferences screen you can change how many tweets are displayed, how they are loaded etc. For every change you make, click the 'Test settings' button to view the changes. In the screen shot below I have:
  • Ticked 'Poll for new results?'- This means that the feed will be updated in real time, so when you tweet, the latest tweet is displayed without having to reload the page.
  • Ticked 'Include scrollbar?' - This means that if the space needed to display the twitter feed is longer than the box a scrollbar will be added.
  • Upped number of Tweets to be displayed to 10.
  • Ticked 'Show hashtags?' - if this is unticked it won't display any text that is preceeded with a #, so in the case of the #facebook tweet above, you wouldn't get the full meaning of the tweet.
  • Ticked 'Show avatars?' - to display people's images by their tweets.

Screen shot from http://www.twitter.com/picseli on 14th January 2011

The settings I haven't mentioned are:
  • Timed Interval - which will display tweets one at a time, rather than loading them all at the start.
  • 'Show Timestamps?' - which displays the timings of the tweets.
When you are happy with your settings, click on the Appearance tab on the left hand side.

7. On this screen you can change the colours of the widget to match your website, so play around and find the colours that suit. Here we've updated it to better match Picseli's colours:

Screen shot from http://www.twitter.com/picseli on 14th January 2011

Click on the text box or coloured square you want to update and use the colour picker, or if you have a corporate brand and access to the Hex codes you need to use, you can simply enter these. You'll notice your demo widget updates as you change colours, no need to click the 'Test settings' button.

When you're done, click on the Dimensions tab.

8. Here you can resize the widget to fit the space you need. This can be a bit tricky and may require a bit of trial and error to get it spot on, however, the auto-width option can be very handy here! Tick this option to have your widget fill the space available. Unfortunately, as it says, you can't test your size settings here.

Screen shot from http://www.twitter.com/picseli on 14th January 2011

9. When you are happy with your widget, click on the 'Finish & Grab Code' button. Here you'll be taken to a page with your HTML code (or, if you want to add your feed to Blogger, a handy 'Add to Blogger' button.)

Screen shot from http://www.twitter.com/picseli on 14th January 2011

If you know what to do with HTML, copy the code and do with it what you will!

If you don't, copy the code and send it to your friendly web developer and ask them to install it for you.

If you want to add it to a blogger site click on the 'Add to Blogger' button.....

10. You will be directed to the Blogger website, where you will be asked to login (if you aren't already) and then asked to select a blog and enter a title for your widget.

Screen shot from http://www.blogger.com on 14th January 2011

(If you click the 'Edit Content' link, you'll see the HTML code thats been passed from Twitter to Blogger.)

Click 'Add Widget' and Twitter will be added to your blog.

If you look towards the bottom of this blog in the right hand bar, you'll see Picseli's Twitter Widget!

Good luck & have a great weekend!

Tuesday, 11 January 2011

MODx Revolution Tutorial for beginners – Part 1

Introduction
About 18 months ago, we stumbled upon a content management system called ‘MODx’. It sounded pretty fancy, so we took a closer look.

MODx is an open source, powerful PHP Content Management Framework. It does not include any constraints to the designer or developer, but it does have some fantastic add-ons and extras which make the process of building a website much quicker.

Some Housekeeping
One of the main advantages of MODx is the fantastic support and documentation that’s available. So before you get into anything too complex, be sure to check out the forums at http://modxcms.com/forums/index.php and also the brilliant documentation at http://rtfm.modx.com/dashboard.action. Both of these will be invaluable when you’re working with MODx.

Downloading MODx
First off, you’ll need to go and download MODx. So go to http://modxcms.com/ and you’ll see a big banner, like the one below!

Make sure you grab the latest stable version of MODx Revolution. The development team for MODx are continuously improving MODx, so the most recent version will be the most advanced.

Once you’ve downloaded it, you’ll need to open up your favourite piece of FTP software (we’re rather fond of Filezilla which you can grab from http://filezilla-project.org/). Then, simply unzip the downloaded file from MODx, and upload it to the root of your web server. There are a few thousand files that need uploading, so you can use this time to go off and set up your database!

Database Setup
Now one thing we need to note here is that we use a Microsoft Web Server (IIS 6.0). This has caused us quite a few headaches in the past, specifically with MODx, but that’s not the fault of MODx, more the fault of our server. Having said that, we’ve never come up against a problem that we couldn’t solve, but I felt it should be noted nonetheless. If you’re using an Apache web server (which you probably are, but you can find out easily enough by contacting your web hosts) then you won’t have any problems with things like Friendly URLs.

So, you’ll need to set up a database for MODx to play with. Depending on your server, this is usually a straightforward process. In order to get through the MODx installation process, you’ll need to know your database name, your database username and user password.

Installation
Once your database is all set up, and MODx has finished uploading to your web server, you’re ready to go and start the set up process. So go ahead and open up a browser window, and navigate to http://www.yourwebdomain.com/setup. You should then see the MODx set up screen!



Ok, so all good so far. The first screen you see is where you need to select your language. By default, its sent to English so for the majority, you can just leave it as is, and click the ‘Select’ button.



Click ‘Next’ on the following screen, until you reach the ‘Install Options’ screen. In order to carry out a fresh installation of MODx, you can leave all the options as they are by default, and click ‘Next’. The other options on this screen relate to upgrading an existing install, and thats something that will be covered in a future post.



Remember when you set up your database earlier? Well now it’s time to configure MODx to work with it. In all but exceptional cases, you will be working with a MySQL database, and your database host will be ‘localhost’, so you can usually leave the first two entries as they are. Next you’ll need to enter your database user login name, and the password for that user, and then enter the name of the database. You can leave the table prefix as it is, and click to test you database connection. If a message tells you that it can’t connect, you’ll need to go back and check your database details. Otherwise, you should get a message telling you that it’s connected successfully.



Next you’ll need to choose your character set and collation. For this, we use utf-8 for the character set, and utf8_unicode_ci for the collation. Again, the database needs to be tested before you can continue. Hopefully all will be well here, so we move on!



Now it’s time to select you Administrator username, e-mail address and password. This is the username and password that you use when you login into the admin section of MODx (which you’ll be doing a lot!) so make sure you use something memorable, but secure. Make a note of the username and password you use here, because you’ll need them again soon! Also, use a valid e-mail address that you have access to, because this is where your e-mails will go if you happen to forget your login details.



Now it’s time to install MODx. For peace of mind, your installation screen will show you if every part of the installation has gone smoothly, and if there are any warnings.



Presuming everything is ok so far, (we’re almost done!) it’s usually a good idea to remove your setup directory (you won’t need it again) by ticking the checkbox and clicking the ‘Login’ button.



You should then be shown your login screen. Remember where I told you to make a note of your username and password? Well, if you did, this is where you need to use them! Enter your details here, and presuming they’re correct, you can login, and you’ll have your first look at the MODx administration screen. Exciting!



One important thing to note, is that when you first navigate to your site domain to see what it looks like, it will be blank. This differs from MODx Evolution which would install with a demo site. If you wish, you can install a demo site for Revolution to help get you started from the Package Management screen in the Manager. Installing add-ons will be covered in a future post, but if you've any immediate questions, feel free to comment below!

Congratulations! That’s it, MODx is all installed and configured. In our next post, we’ll go over some of the basic set up features when you’re building your first MODx website! The next few posts will be much more interesting as we delve deeper into what MODx is all about. I promise magic, whizzing and bangs! So be sure to come back for the next post.

Now if you'll excuse me, I’m just off for a lie down...

Friday, 7 January 2011

How to...merge your Facebook Page with your Places Page

Not a catchy title I know, but, you know, does what it says in the title (I hope!)

Back in December I blogged about How to Claim your business on Facebook Places and way (way) back in November 2008 I wrote a post explaining How to create a Facebook page for your Company. I have noticed that you now have the option to merge the two pages so you don't need to try to get 2 lots of fans ('likers') or update different statuses.

It is fairly straightforward, but as it is only the first week back in work....

So, first of all head to your Facebook Places page. This is how the current Picseli Places page looks:

Picseli's Page on Facebook Places

You'll notice that in the left hand column, just about the 'Share' button is a link that says 'Merge with existing page - click it and you will get a pop up box asking you which page you want to merge it with.

Merge pages pop-up box

Select the page you want to merge & click the 'Merge' button. You'll then be asked to confirm your choice.

Confirm request pop-up
And there you have it, your pages will be merged and any 'check ins' will now be visible on your main Facebook page, plus you'll see a 'Friend Activity' link (see box in left hand column below).

Merged Facebook pages

And there you have it. Simples!

I have been asked to update some previous posts as Facebook has changed the way they do things a bit, so if there are any How To guides you like to (they don't all have to be Facebook related) please let me know by commenting or send me a tweet.

- - - - - - - - - - - - -

UPDATE: I have recieved an email from Facebook to say:
"We have scheduled the Page migration from Page "Picseli" (http://www.facebook.com/pages/Picseli/173696612657206) to Page "Picseli" (http://www.facebook.com/picseli) . It might take up to a week to complete the process. Thank you for your patience."

So whether there will be more changes, I don't know! Will keep you posted.

- - - - - - - - - - - - -

Wednesday, 5 January 2011

Keep your New Year's Resolutions with 10% off

Happy New Year  to you all!

We hope you had a lovely Christmas break and have come back to work feeling positive & optimistic for 2011 - I know we have!

We are also hoping that some of you have set a new year's resolution to set up a new website for your business or update your existing one. So, to help you keep your resolution, we are offering a 10% discount on new websites orders placed in January for our blog readers. So why not get in touch for a quote?

One of our resolutions is to make sure that we blog at least once a week (thanks to the challenge set by Wordpress), our key weekly post will be our 'How to' guides posted on a Friday, and have also been told that designer Neil has planned a monthly series on using Mod-X, so please make sure to subscribe to our blog so you don't miss out.

If you have any suggestions for a How To guide you'd like to see, please let me know by commenting here or sending us a tweet.

Here's to a great 2011!

Friday, 24 December 2010

Christmas Advent Calendar Day 24


Did you get it? Yesterday's Answer was '4 Christmases'
For Day 24, it's a Christmas Song...


As today is the last day...the answer is revealed below.... 

V
V


V


V


V


V


V


Answer is .... O Holy Night!

So, from everyone at Picseli, we wish you a very Merry Christmas & a Wonderful New Year. 


Make sure to follow our blog (using the subscribe link on the right), follow us on Twitter, follow us on Tumblr or Like us on Facebook to get your daily dose of dingbat!

Thursday, 23 December 2010

Christmas Advent Calendar Day 23


Did you get it? Yesterday's Answer was 'Saviour's Day'
For Day 23, have you seen this Christmas Film?



Make sure to follow our blog (using the subscribe link on the right), follow us on Twitter, follow us on Tumblr or Like us on Facebook to get your daily dose of dingbat!

Wednesday, 22 December 2010

Christmas Advent Calendar Day 22


Did you get it? Yesterday's Answer was 'It's Christmas Time'
For Day 22, do you know what this Christmas song is?



Make sure to follow our blog (using the subscribe link on the right), follow us on Twitter, follow us on Tumblr or Like us on Facebook to get your daily dose of dingbat!