This plugin allows admin to manage the FAQ section in multiple languages.
Install the plugin with composer:
$ composer require sherlockode/sylius-faq-plugin
Complete the configuration:
# config/packages/sherlockode_sylius_faq.yaml
imports:
- { resource: "@SherlockodeSyliusFAQPlugin/Resources/config/config.yaml" }
Import routing:
# config/routes/sylius_faq.yaml
sherlockode_sylius_faq_plugin_admin:
resource: "@SherlockodeSyliusFAQPlugin/Resources/config/admin_routing.yaml"
prefix: '/%sylius_admin.path_name%/faq'
sherlockode_sylius_faq_plugin:
resource: "@SherlockodeSyliusFAQPlugin/Resources/config/routing.yaml"
Don't forget to generate a migration
Publish the assets to finish the installation
php bin/console assets:install public
Now you only have to create categories and for each categories, you can have multiple questions / answers. If certain categories and questions are only displayed for certain languages, leave the other languages blank
We created a demo app with some useful use-cases of plugins! Visit sylius-demo.sherlockode.fr to take a look at it. The admin can be accessed under sylius-demo.sherlockode.fr/admin/login link. Plugins that we have used in the demo:
Plugin name | GitHub | Sylius' Store |
---|---|---|
Advance Content Bundle (ACB) | https://github.com/sherlockode/SyliusAdvancedContentPlugin | - |
Mondial Relay | https://github.com/sherlockode/SyliusMondialRelayPlugin | - |
Checkout Plugin | https://github.com/sherlockode/SyliusCheckoutPlugin | - |
FAQ | https://github.com/sherlockode/SyliusFAQPlugin | - |
To learn more about our contribution workflow and more, we encourage you to use the following resources:
This plugin's source code is completely free and released under the terms of the MIT license.
If you want to contact us, the best way is to fill the form on our website or send us an e-mail to [email protected] with your question(s). We guarantee that we answer as soon as we can!