2017 © Pedro Peláez
 

symfony-bundle easyadminpopup-bundle

image

a5sys/easyadminpopup-bundle

  • Thursday, February 18, 2016
  • by thomasbeaujean
  • Repository
  • 2 Watchers
  • 0 Stars
  • 484 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

EasyAdminPopupBundle

This bundle is a layer that gives the "popup" look and feel for the EasyAdminBundle, (*1)

Dependency

This bundle requires:, (*2)

  • Jquery
  • bootstrap-datetimepicker
  • select2
  • humane

Installation

    composer require a5sys/easyadminpopup-bundle

In AppKernel.php, (*3)

    new A5sys\EasyAdminPopupBundle\EasyAdminPopupBundle(),

Configuration

You have to set the cofiguration:, (*4)

    easy_admin_popup:
        layout: "::admin_layout.html.twig" #mandatory
        customized_flash: false #optionnal, if you want to translate each entity crud flash. The translate key would be flash.User.persist (or update/remove) for a User entity

The layout must have a body block., (*5)

The layout must include:, (*6)

  • Jquery
  • bootstrap-datetimepicker
  • select2
  • humane

And include the JS using assetic:, (*7)

  • '@EasyAdminPopupBundle/Resources/assets/js/form-modal.js'
  • '@EasyAdminPopupBundle/Resources/assets/js/humane-error.js'

Use

Create a controller that extends "A5sys\EasyAdminPopupBundle\Controller\AdminController", (*8)

Include this controller in your routing using annotation, (*9)

The Versions

18/02 2016

dev-upgrade-easyadmin

dev-upgrade-easyadmin

  Sources   Download

MIT

The Requires