mu.nu - We're sorry we accidentally destroyed your panties.
March 31, 2007
Is there any way to have the tagline/blog description be randomly selected from a pre-set list of variable phrases? I'd like to replace "Apathetic curmudgeonry from the Western District of the Commonwealth of Virginia" with something else, but the thing I have in mind would benefit from my aforementioned idea.
Thanks!Posted by: Country Pundit at 02:01 AM | Comments (420) | Add Comment | Trackbacks (Suck)
Javascript
PHP
Minx
If you don't know Javascript or PHP, best to wait for Minx. Or someone might have a nice working example that you could just paste into your template. Anyone?
Posted by: Pixy Misa @ at March 31, 2007 03:00 AM

Posted by: Country Pundit @ at March 31, 2007 03:23 AM
You create a template which is just a list of quotes, and then you put [quote:random templatename] in your template somewhere, and viola! I just set up one on my blog.
Posted by: Pixy Misa @ at March 31, 2007 04:34 AM
My code rotates a drinking toast in the sidebar, but you could place the code whereever you want it to rotate...
Good Luck!
Posted by: Madfish Willie @ at March 31, 2007 04:52 AM
Posted by: Madfish Willie @ at March 31, 2007 04:55 AM
I stole the code from your site (both parts of it) and stuck the large snippet in the template where span class="description" was, but it doesn't seem to have worked.
What am I doing wrong?
Posted by: Country Pundit @ at March 31, 2007 02:03 PM
Go here for some code you can modify for your site... you have to be php enabled to run it...
http://www.ftls.org/en/examples/php/random_txt.php3
Posted by: Madfish Willie @ at April 01, 2007 02:41 PM
Posted by: Madfish Willie @ at April 01, 2007 02:48 PM
I would have never figured this out myself.
Posted by: Country Pundit @ at April 02, 2007 04:46 AM
Posted by: cheap ralph lauren @ at June 30, 2011 08:21 AM
Posted by: ray ban sunglasses @ at July 04, 2011 09:14 AM
Processing 0.0, elapsed 0.0089 seconds.
22 queries taking 0.0054 seconds, 33 records returned.
Page size 10 kb.
Powered by Minx 0.8 beta.