My previous post about this subject can be viewed here. So much for thinking this code worked properly. It did for pages that were in my main directory. Viewing archived entries that were saved to a different directory gave an error, because the function calls for a path to the sql query and since I use php-includes for the side-bar, the path was different. One way to get around this would have been to hard code everything onto the templates, but an easier solution was to use David Raynes MultiBlog with his Random Entries plugin. Now the random quotes can be viewed from anywhere in my site and it seems a far easier solution.
More on Random Entries and using MySql Query
Categories:
Tags:
Twitter Updates
Link Stream
- Toni shared Collection of Twitter Bird Vector Graphics,Twitter Bird Icons,Logos, Twitter Bird psd eps png files from Blogger Templates
- Toni shared Fix a Noisy, Overheated Laptop from PC World How-To's and Tips
- Toni saved the link Movable Type Monday: Photo Gallery, Google Maps, Template Sets, and More | The Blog Herald
- Toni shared Styling HTML with CSS when JavaScript is not available from Adventures in Movable Type
- Toni shared 40 Stunning and Creative Graffiti Artworks from Smashing Magazine
- Toni shared 40 Stunning and Creative Graffiti Artworks from Smashing Magazine
- Toni shared Swine Flu: Should You Worry? from Featured Stories
- Toni shared How To Create Your Own Twitter Background from SitePoint
- Toni shared Fancy Thumbnail Hover Effect w/ jQuery from CSS Drive News
- Toni shared Collection of Twitter Bird Vector Graphics,Twitter Bird Icons,Logos, Twitter Bird psd eps png files from Blogger Templates
Subscribe
Random Entries
Categories
Search
Random Pix
Random Quote
Benjamin Disraeli
"Desperation is sometimes as powerful an inspirer as genius."
:: (1804-1881) British Statesman, Prime Minister, Author
Recent Comments
- mysmallventure commented on Running Movable Type Under FastCGI on DreamHost: Your going to love using the s
Sideblog Entries
- Nigerian Bikers' Vegetable Helmets on Fully Sick
- Bizarre Blow-Up Doll Sex Bandit on Fully Sick
- Christmas Angel on Fully Sick
- I'll Be Loving You on Loving You
- Forever In My Heart on Loving You
- I Know You Care on Loving You
- Christmas Over for Another Year on Spitting Into the Wind
- The Importance of Wearing Your Reading Glasses on Spitting Into the Wind
- Teenagers, Act Now! on Spitting Into the Wind
- Decorated Door Hangers on The Billy Lids
- Page Marker Pets on The Billy Lids
- Decorated Lampshade on The Billy Lids
- Meme: Wikipedia Names Your Band on The Playground
- Overloaded with MP3s? Sell Them on Bopaboo on The Playground
- Site Maintenance and Housekeeping on The Playground


Leave a comment