genj / faq-admin-bundle
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
Requires
- doctrine/doctrine-bundle: ~1.2
- doctrine/doctrine-fixtures-bundle: ~2.2
- doctrine/orm: ~2.2,>=2.2.3
- genj/faq-bundle: dev-master
- sensio/framework-extra-bundle: ~3.0
- symfony/symfony: >=2.5,<3.0-dev
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" }