sherlockode / sylius-faq-plugin
Sylius plugin for FAQ page
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 6
Forks: 4
Open Issues: 1
Type:sylius-plugin
Requires
- php: ^8.0
- ext-soap: *
- friendsofsymfony/ckeditor-bundle: ^2.4
- sylius/sylius: ~1.12.0
This package is auto-updated.
Last update: 2024-11-08 10:26:38 UTC
README
Table of Content
Overview
This plugin allows admin to manage the FAQ section in multiple languages.
Installation
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
Usage
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
Demo Sylius Shop
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:
Additional resources for developers
To learn more about our contribution workflow and more, we encourage you to use the following resources:
License
This plugin's source code is completely free and released under the terms of the MIT license.
Contact
If you want to contact us, the best way is to fill the form on our website or send us an e-mail to contact@sherlockode.fr with your question(s). We guarantee that we answer as soon as we can!