Welcome to the Quote-of-the-day plugin

Entering and editing your quotes

  1. Select from the Plugins-menue Quoteoftheday.
  2. Configuration in Plugin Config:
  3. Styling the quotes in Plugin-Stylesheet:
  4. Configuration in Plugin Language:
  5. Enter your quotes in Plugin Main Settings.

Inserting Quote-of-the-day into CMSimple:

The plugin-loader must be installed. Upload the quoteoftheday-folder into the plugins directory, keeping the folder structure. You may have to give file permissions chmod 0646 to: config/config.php, css/stylesheet.css, data/quote_en.txt, data/random_en.txt, languages/en.php, languages/en.php

  1. If you want to show your quote of the day on a specific page, insert, exactly where you want your quotes to appear, the command:
    #CMSimple $output = quoteoftheday();#
    Quote of the day doesn't work in a news-box, as the quote will only be generated, when the page containing the quote is called.
  2. If you want to show your Quote-of-the-day on all pages, insert in the respective place in the template:
    <?php echo quoteoftheday(); ?>
    Don't forget to mark in the Config-Plugin that you use Quote-of-the-day in the template.
  3. If you want to show your quote of the day on some pages and on others a news-box instead, insert in the template:
    <?php if ($news==''){echo quoteoftheday();}else{echo newsbox($news);} ?>
    and add on the page, which should suppress the quote:
    #CMSimple $news = "Name_of_page_containing_your_news";#

Code ver. 0.51 by svati, Jan 2011. Slovak files + feedback by Tata