This extension provides an additional Front-End Module to show only selected questions from a FAQ category together with a link to the complete FAQ Page inside Contao CMS.
- Show only selected FAQ's from a selected category as a teaser
- Add a link to view the complete FAQ Page
- PHP >7.2
- Contao ~4.9 LTS
When using the managed edition it's pretty simple to install the package. Just search for the package in the Contao Manager and install it. Alternatively you can use the CLI.
# Using the contao manager
$ php contao-manager.phar.php composer require markenzoo/contao-extended-faq-bundle
# Using composer directly
$ php composer.phar require markenzoo/contao-extended-faq-bundle
# Using global composer installation
$ composer require markenzoo/contao-extended-faq-bundle
If you use Contao in a symfony application without contao/manager-bundle, you have to register the bundle manually:
class AppKernel
{
public function registerBundles()
{
$bundles = [
// ...
new Markenzoo\ContaoExtendedFaqBundle\ContaoExtendedFaqBundle()
];
}
}
Run the PHP-CS-Fixer and the unit test before you release your bundle:
vendor/bin/php-cs-fixer fix -v
vendor/bin/phpunit
vendor/bin/psalm
vendor/bin/psalter --issues=all --dry-run