Unthreaded Editable Tagline
April 15, 2008 Posted by Al Castle
trackback
Categories: Castle, Friends, Marketing, Puter Stuff, Squirrels, TimeWaster, Web Design & Dev
For a long time I had a bit of code in my blog header, just beneath the blog title (Unthreaded), that randomly choose and displayed a quote, quip or blurb that I had written. Things like “Castlemonkey Speaks of Lemon Scented Victory” or “Castlemonkey Speaks of hotdogs with no cream cheese” and so on.
Sure to become a bore quickly, I’ve added in some code to make the tagline for this blog editable. By anyone. [Currently I'm not requiring you to identify yourself or login to do so. This may change later.]
Simply click on the text, whatever it may be, as anyone is free to change it, and you should see something like the picture above.
Type in whatever you like and click SAVE. The changes are global and saved to the database, meaning everyone who views the site right after you made that change, will see the new tagline. Until it’s changed again.
Dangerous huh?
Attribution Update: This idea was swiped from my amigo David. You can also see his version at Cranberry.


Comments»
To do a random message I wasn’t using a database. Just an array with sayings, shuffling and displaying. Nothing fancy.
I don’t know what your comment above means, other than Lauren thinks you and Chris are hot.
that’s awesome. and dangerous. just don’t piss me off
I’ve added a page so that you can see all the quips to date in real time.
Click on the tagline quips tab at the top of the page. Or go here
http://blog.alcastle.com/tagline-quips/