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 saved the link 25 Stylish Website Footer Designs - Six Revisions
- Toni shared Reinstall and Restore Your Windows PC in Eight Easy Steps from PC World How-To's and Tips
- Toni shared Use Rules to Automatically Organize Email from PC World How-To's and Tips
- Toni shared 20 Beautiful Christmas Icon Sets from CSS Drive News
- Toni shared Clean URLs for Tag & String Searches from Adventures in Movable Type
- Toni shared Print-Friendly Movable Type Templates, Part 2: Dynamic Publishing from Devlounge - Homepage Feed
- Toni shared The Power Of Widgets from Movable Type 4
- Toni shared Make Free (and Cheap) Phone Calls From Your Web Browser from PC World How-To's and Tips
- Toni shared Creating a Print-Friendly Template in Movable Type from Devlounge - Homepage Feed
- Toni shared Blogger's new Geotagging feature (and how to use it!) from Blogger Buster
Subscribe
Random Entries
Categories
Advertising
Search
Random Quote
Akhenaton
"If thou would'st preserve understanding and health to old age, avoid the allurements of Voluptuousness, and fly from her temptations - For if thou hearkenest unto the words of the Adversary, thou art deceived and betrayed. The joy which she promiseth changeth to madness, and her enjoyments lead on to diseases and death."
:: (~1362BC) Monotheist, King of Egypt (1379-62BC)
Recent Comments
- Toni commented on Happy Birthday Anthony: Happy Birthday Anthony
- Toni commented on Happy Birthday: I have less than a year now to
- Paula Neal Mooney commented on Bloggers Earning Big Money: Hi Toni - Thanks for the menti
- Toni commented on My Little Helper: Yep, Carly hated that I upload
- Toni commented on Overdue Site Maintenance: God, I've had a hell of a time
- mysmallventure commented on Running Movable Type Under FastCGI on DreamHost: Your going to love using the s
- Toni commented on Does Anyone Have a Solution?: Well, I solved my own problem
Sideblog Entries
- Bubblegum Health Warning on Fully Sick
- Pasta Jar Used as Homemade Sex Aid on Fully Sick
- Rogue Wallabies Harrass Retirement Home Residents 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
- The Importance of Wearing Your Reading Glasses on Spitting Into the Wind
- Teenagers, Act Now! on Spitting Into the Wind
- Teenagers Out of Control on Spitting Into the Wind
- Gold-Studded Snowflake Candles on The Billy Lids
- Beaded Snowflake Ornaments on The Billy Lids
- Beaded Tote Bag on The Billy Lids
- Overloaded with MP3s? Sell Them on Bopaboo on The Playground
- Site Maintenance and Housekeeping on The Playground
- TypePad Anti-Spam: The Best on The Playground

Leave a comment