2017 © Pedro Peláez
 

symfony-bundle form-widget

Victoire Form widget

image

victoire/form-widget

Victoire Form widget

  • Wednesday, August 1, 2018
  • by lenybernard
  • Repository
  • 15 Watchers
  • 5 Stars
  • 1,501 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 6 Open issues
  • 24 Versions
  • 2 % Grown

The README.md

CircleCI, (*1)

Victoire Form Bundle

What is the purpose of this bundle

This bundle gives you access to the Form Widget. With this widget, you can install any contact form., (*2)

Set Up Victoire

If you haven't already, you can follow the steps to set up Victoire here, (*3)

Install the Bundle :

Run the following composer command :, (*4)

php composer.phar require victoire/form-widget

Do not forget to add the bundle in your AppKernel!, (*5)

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            ...
            new Victoire\Widget\FormBundle\VictoireWidgetFormBundle(),
            new Ivory\CKEditorBundle\IvoryCKEditorBundle(),
        );

        return $bundles;
    }
}

Inject Data before send mail

When widget is configure to send mail with form data, you can inject some other data before send mail., (*6)

Create a EventLister :

<?php
namespace AppBundle\EventListener;

use Symfony\Component\EventDispatcher\Event;

class WidgetFormListener
{
    public function injectData(Event $event)
    {
        $event->prependData('new label', 'before post data');
        $event->appendData('another label', 'after post data');
    }
}

Declare listener in Service :

#service.yml

widget_form_listener:
    class: AppBundle\EventListener\WidgetFormListener
    tags:
        - { name: kernel.event_listener, event: victoire.widget_form.pre_send_mail, method: injectData }

Use reCAPTCHA

ReCAPTCHA is a free CAPTCHA service that protects websites from spam and abuse., (*7)

Parameters

To use reCAPTCHA on your website, you'll need to : * Register your website in the reCAPTCHA homepage here * Add your api keys in your app parameters, (*8)

    victoire_widget_form.recaptcha_public_key: XXXXXX
    victoire_widget_form.recaptcha_private_key: XXXXXX

The Versions

01/08 2018

dev-master

9999999-dev

Victoire Form widget

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

27/07 2018

2.2.x-dev

2.2.9999999.9999999-dev

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

27/07 2018

2.2.8

2.2.8.0

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

30/04 2018

2.3.4

2.3.4.0

Victoire Form widget

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire

25/04 2018

2.3.3

2.3.3.0

Victoire Form widget

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire

08/01 2018

2.3.2

2.3.2.0

Victoire Form widget

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire

11/10 2017

2.3.1

2.3.1.0

Victoire Form widget

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire

03/10 2017

2.2.7

2.2.7.0

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

03/10 2017

2.3.0

2.3.0.0

Victoire Form widget

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire

31/03 2017

2.2.6

2.2.6.0

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

29/03 2017

2.2.5

2.2.5.0

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

06/03 2017

2.2.4

2.2.4.0

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

22/02 2017

2.2.3

2.2.3.0

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

10/02 2017

2.2.2

2.2.2.0

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

10/01 2017

2.2.1

2.2.1.0

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

25/10 2016

2.2.0

2.2.0.0

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

07/10 2016

2.1.0

2.1.0.0

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

20/09 2016

2.0.1

2.0.1.0

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

22/08 2016

2.0.0

2.0.0.0

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

25/02 2016

1.5

1.5.0.0

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form widget victoire dcms friendsofvictoire

03/11 2015

1.3.1

1.3.1.0 http://victoire.io

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form cms widget dynamic victoire dcms friendsofvictoire fov

02/11 2015

1.3.0

1.3.0.0 http://victoire.io

Create custom forms in Victoire website

  Sources   Download

MIT

The Requires

 

by Charlie Lucas

form cms widget dynamic victoire dcms friendsofvictoire fov