lorocod/gema-admin-bundle

Template y Admin para aplicacion rapida en proyectos de Symfony2.

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:symfony-bundle

dev-master / 0.3.x-dev 2014-03-16 05:14 UTC

This package is not auto-updated.

Last update: 2020-02-07 15:54:33 UTC


README

1)Agregar al routing:

gema_admin: resource: "@GemaAdminBundle/Resources/config/routing.yml"

2)Agregar al Appkernel:

new Gema\AdminBundle\GemaAdminBundle(),

3)Agregar al securiry.yml

providers: ... admin: memory: users: user: { password: user, roles: [ 'ROLE_USER' ] } admin: { password: admin, roles: [ 'ROLE_ADMIN' ] }
. . . firewalls: .... sin_seguridad: pattern: ^/ejemplo/ security: false

Adminlogin:
    pattern:  ^/admin/(login|registro)$
    security: false

Admin:
    pattern:    ^/admin/
    provider: admin
    form_login:
        check_path: admin_login_check
        login_path: admin_login
        always_use_default_target_path: true
        default_target_path: /admin/
    logout:
        path:   admin_logout
        target: /

4)Agregar los recursos css y js, usando assets

php app/console assets:install web --symlink