friendsofvictoire/connect-widget

Victoire Connect widget

2.0.3 2018-03-02 14:34 UTC

This package is not auto-updated.

Last update: 2024-12-21 20:19:26 UTC


README

GET STARTED

Need to add a login form in a victoire cms website ?

First you need to have a valid Symfony Victoire edition. Then you just have to run the following composer command :

    php composer.phar require friendsofvictoire/connect-widget

Declare your widget in your AppKernel:

    new Victoire\Widget\ConnectBundle\VictoireWidgetConnectBundle(),

Add routes in app\config\routing.yml

victoire_widget_connect:
    resource: "@VictoireWidgetConnectBundle/Resources/config/routing.yml"

Widget Connect use some style and js, you can use Assetic Injector or include manually the assets.

Then you just need to have ROLE_VICTOIRE_DEVELOPER and add this widget.

BASIC OPTIONS

redirect_url: string - Redirect to this url after success login.

form_login: boolean - Display or Hide the form login.

MENU