Integrating Quotes in
This page describes the options for integrating quotes from www.zitat-service.de into the CMS Joomla!. Random quotes from authors, categories, or your own quote collection can be displayed in Joomla! free of charge and without advertising. Most quotes are in German, but you have a nice selection of English quotations with category 'English'.
For Joomla! Version 3
Module version 1.4.2 from October 4, 2019 uses TLS (https) and supports the automatic update mechanism. For installation in the Joomla! backend as an administrator:
- install the mod_zitat_service_de module via "Extensions | Install" from the following web address:
https://www.zitat-service.de/joomla/mod_zitat_service_de_1.4.2.zip, - then set the module to "Published" via "Extensions | Modules",
- set the desired position in the template (e.g., position-7), and
- assign the module to the desired menus (e.g., "On all pages").
With the basic options of the module, it is possible to display the quotes:
- by a specific author (e.g., Goethe),
- from a category (e.g., English) or
- limited to your own custom quotes with a username, such as your own.
By default, the quotes open in the same window. With the optional parameters, you can:
- specify a window name (e.g., quote) and the quote, source, or author links will then open in a new window.
- Set the query method for fetching the quote. The recommended query method is Asynchronous with JavaScript in the web browser. This speeds up the page load by fetching the quote after the page has been built. This option is also mandatory if the quote retrieval from Joomla is not possible, e.g., because allow_url_fopen in PHP is turned off.
- Since the asynchronous query method fetches the quote after the page has been built, subsequent modules may jump. The module should therefore be the last in a row (so there is space below) or a horizontal space should be reserved. The minimum height of the module can be specified with the last parameter if no custom CSS exists. The height can be specified with, for example, 20ex or 100px. The WebDesignTest category is suitable for testing the height as it contains the shortest and longest quotes.
Adjusting the Style
The appearance of the quote can be customized using cascading stylesheets (CSS). The DIV element of the class quote encloses the entire quote, where you can set a border, for example. It contains two DIV elements of the classes quotation for the quote and source for the author and source. The following example removes the default link decoration (underline), sets the quote in black font and larger than normal. The source (whether with or without a link) is then displayed in gray:
text-decoration:none;
color: black;
font-size: larger;
}
div.quote div.source, div.quote div.source a {
color: gray;
}
In Joomla, the lines should be added to the used template (e.g., for the beez template, add it to the file beez/css/template.css).
Limitations and Error Handling
The Joomla module can only be included once on a webpage when using asynchronous calls.
If
A timeout of 3 seconds is set for fetching the quote. If the retrieval from the server takes longer, a default quote will be displayed, and the error message can be found as an HTML comment in the page source code.
Example of an Integration in Joomla
Quotes from the "English" category, colored in the style of the website (as of May 1, 2023):

Digital Fantasy Legacy Modder (FLEM)
Bugs or Enhancements
If you have discovered a bug or have a feature request, please create a GitHub Issue.
Back to the general integration and using an IFRAME:
Joomla! logos are copyrighted by OpenSourceMatters.