"Quote ot the day" creates a div-area in which a quote is placed. This quote come from one of several quote collections entered by the user in the backend. The quote is exchanged daily, weekly or monthly, at random or in a fixed order.
The quotes are entered as plain text with simplyfied markup similar to wiki software.
[[URL|Link text]]
{{myimage.jpg|width="500"}}
or {{myimage.jpg|style="width:500px"}}
. Via space before or after the image name the image is floated left {{image }}
or right {{ image}}
or centered {{ image }}
.{{soundfile.mp3,ogg}}
. The attributes "autoplay" und "loop" are supported, e.g. {{soundfile.mp3|autoplay loop}}
, as well as css entries, e.g. {{soundfile.mp3|style="background:red"}}
. The player can be placed centered or right aligned via markup code. Floating as in images not supported. No Flash provided, so no Internet Explorer 8 support.Saving your old installed plugin somewhere may always be prudent.
In case you made some changes to the css, save you old css file and reenter later your settings in the new css file.
Install new version on top of existing files. Your quote files will not be altered. Config data has to be entered again.
N.B.: In the css there is now the entry overflow:hidden; clear:both;
to accomodate big images. However this doesn't work withall templates, so you may have to change this entry.
Updates from 0.5 and earlier version need entering after every quote the new quote separator ===
and the
trigger for the author line -
.
quote_en.txt
. Instead of selecting "Standard quote file" you can select quote_en.txt, which amonts to the same. You can create or delete quote files via the options menu. File names may not contain accented letters or spaces.===
. To add a new quote after a quote, enter ===
plus the new quote.<br>
) via /
at the end of the line.-
assignes class .quote_author
(for displaying the name of a quote author),?
class .quote_smaller
(smaller typeface),!
class .quote_bigger
(bigger typeface).%
centers the text, must be in second place in combination with other markup codes.%
aligns text to the right, must also be in second place when combined with other markup codes.*
", ordered lists "#
"" (sign plus space at the start of a line).[[URL|Linktext]]
. A link to your start page would be e.g.
[[?Startpage|Startpage]]
.{{myimage.jpg}}
or {{mysound.mp3}}
will appear.|
, e.g. {{myimage.jpg|width="200"}}
.<div class="quoteoftheday">
box, which can be styled via css.<p>
paragraphs.{{{PLUGIN:quoteoftheday();}}}
for standard quote file, or
{{{PLUGIN:quoteoftheday('FILENAME');}}}
for the quote file "filenname".
The filename ending .txt
doesn't have to be entered.{{{quoteoftheday}}}
or {{{quoteoftheday 'file name'}}}
, however don't mix old and new calling style on the same page, because of a tiny bug in 1.6.5 and 1.6.6.<?php echo quoteoftheday();?>
or <?php echo quoteoftheday('FILENAME');?>
Betatesting of older versions mainly by Tata. Some suggestions from oldnema and cmb.