https://github.com/heimrichhannot/contao-quiz-bundle
https://github.com/heimrichhannot/contao-quiz-bundle
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/heimrichhannot/contao-quiz-bundle
- Owner: heimrichhannot
- Created: 2018-01-19T07:31:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-21T13:20:42.000Z (over 1 year ago)
- Last Synced: 2025-04-02T15:01:56.327Z (11 months ago)
- Language: PHP
- Size: 382 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# contao-quiz-bundle
[](https://packagist.org/packages/heimrichhannot/contao-quiz-bundle)

This bundle offers a simple quiz with submission (if needed).
## Warning: This bundle is abandoned
This bundle is abandoned and will not be further developed. We recommend usung [Survey Bundle](https://github.com/pdir/contao-survey).
## Installing
With composer and Contao 4 Managed Edition:
```
composer require heimrichhannot/contao-quiz-bundle ~1.0
```
## Features
* Module QuizReader
* Module QuizSubmission
* creating simple quiz with custom evaluation, answers and answer descriptions
* submission
* adding content element to evaluation, answer and answer description
## Creating a quiz

### Adding submission to quiz

To adding a submission to your quiz, create a quiz submission module, select 'add submission', select your submission archive and add the quiz submission module to your evaluation.
See [here](https://github.com/heimrichhannot/contao-submissions) how to add a submission archive (https://github.com/heimrichhannot/contao-submissions).
### Adding evaluation to quiz

### Adding questions to quiz

### Adding answers to question

### Adding answer description to answer
If you want to explain why the answer is either correct or false simply add a description to the answer.
Otherwise there will just stand correct or false as solving.

### InsertTags
Tag | Arguments | Example | Description
--- | --------- | ------- | -------
huh_quiz_total_score | QUIZ_ID | {{huh_quiz_total_score::8}} | Returns the total possible score of the quiz
huh_quiz_current_score | - | {{huh_quiz_current_score}} | Returns the current score of the "player" from session
huh_quiz | MODULE_ID,QUIZ_ID | {{huh_quiz::12::8}} | Returns the quiz with the given id