friendsofvictoire/connect-widget

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Victoire Connect widget

2.0.3 2018-03-02 14:34 UTC

This package is not auto-updated.

Last update: 2021-09-18 02:29:22 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