Display quiz in Joomla! article

There are two ways to display a quiz in Joomla! articles.

Using Quiz Form module

  1. Open your quiz form module
  2. Enter your quiz id in the field provided
  3. Add a custom position name such as “quiz_position_1” in module position
  4. Load the custom module position entered above using Joomla! short code syntax.

See below url for more information on how to display a module in Joomla! articles.

https://docs.joomla.org/How_do_you_put_a_module_inside_an_article%3F

Using Content Plugin

This option is applicable for Community Quiz v4.3.5 and later

The component package comes with quizzes content plugin. Make sure this plugin is published. Now edit your article and following code into your article:

{LOADQUIZ ["id": QUIZID]}

Using the container element to explicitly mention the wrapper block which contains the quiz.

<div id="container-name-1"></div> 
 
{LOADQUIZ ["id": QUIZID, "container": "container-name-1"]}

Replace QUIZID with the ID of your quiz.


Developers Video Tutorials



Search the website