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-widgetDeclare 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.
redirect_url: string - Redirect to this url after success login.
form_login: boolean - Display or Hide the form login.