Insert a random quote into a wiki page.
- randomquote.zip unpacks into local/quote.php and pub/quotes.txt.
Randomquote adds the markup [[randquote]] which will be replaced by a randomly chosen line from quotes.txt. The line is enclosed in a div with id=randquote.
The format for quotes.txt is one quote per line with pipes ( | ) used to denote line breaks within the quote. Each pipe will be replaced with <br> before the quote is inserted.
I've noted one CSS related problem. Margins and padding on the div randquote don't seem to work.
You can see it in action at: http://wiki.thunderbunny.org/GeekStuff/RandomQuote
- Dave Noonan
For a different version that takes the quotes from a Wiki page have a look at my markup extension at http://www.b-a-l-u.de/index.php/Projects/RandomQuote -- Balu (2004-03-22)
from IP: 18.104.22.168 ip should be disabled by default for security reasons