sherlockode/sylius-faq-plugin

Sylius plugin for FAQ page

v0.2.3 2024-12-13 16:54 UTC

README

Support

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!