genj/faq-admin-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Symfony Faq Admin bundle - backend version for GenjFaqBundle + SonataAdmin

Installs: 1 034

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 2

Open Issues: 0

Type:symfony-bundle

v1.0.8 2016-04-11 12:52 UTC

This package is not auto-updated.

Last update: 2024-02-17 15:06:53 UTC


README

The GenjFaqAdminBundle is an addition to GenjFaqBundle and contains only admin classes for SonataAdmin. So: no SonataAdmin, no FaqAdmin: https://sonata-project.org/bundles/admin/2-3/doc/index.html

Installation

Add this to your composer.json:

    ...
        
    "require": {
        ...
        "genj/faq-admin-bundle": "dev-master"
        ...

Then run composer update.

After that is done, enable the bundle in your AppKernel.php:

$bundles[] = new Genj\FaqAdminBundle\GenjFaqAdminBundle();

and in your config.yml for the sonata admin dashboard

sonata_admin:
    dashboard:
        groups:
            Content:
                items:
                    - sonata.admin.genj_faq_question

By default the FAQ is part of the content group. If you don't like that, overwrite the service:

services:
    sonata.admin.genj_faq_question:
        class: %genj_faq.admin.question_admin.class%
        tags:
            - { name: sonata.admin, manager_type: orm, group: "Content", label: "FAQ" }