🇺🇸 EN

Login

Quotes

Categories

ABCDEFG
HIJKLMN
OPQRSTU
VWXYZ*

Authors

ABCDEFG
HIJKLMN
OPQRSTU
VWXYZ*

Help

Embed

Project

Contact

Integrating Quotes in Joomla! Logo

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'.

Joomla! 3.0 Module Assignment
Joomla! 3.0 Published Status
Joomla! 3.0 Module Installation

For Joomla! Version 3 Joomla! 3.0 compatible

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:

Joomla! 3.0 Basic Options

With the basic options of the module, it is possible to display the quotes:

Joomla! 3.0 Published Status

By default, the quotes open in the same window. With the optional parameters, you can:

Joomla! 1.5 Module Parameters

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:

div.quote * a {
  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 allow_url_fopen is disabled on the server, JavaScript will be inserted to display the quote. If the user also has JavaScript disabled in their web browser, the same quote will always be displayed, and an HTML comment will document this.

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):

Quote in white font and source in yellow

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: Arrow back


Joomla! logos are copyrighted by OpenSourceMatters.