spyFormBuilderInterfacePlugin - 0.1.1

This package let's you to create forms with an ergonomic Interface

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
This plugin is deprecated and is not maintained anymore. Use spyFormBuilderInterface2Plugin after sf1.0
Show source | Show as Markdown

INSTALLATION

Dependances

sfPropelManualOrderPlugin

edit_area -> Js lib for highlighting sources

pear Mail_Mime & pear Mail

    pear install --alldeps Mail_Mime

sfIpGeolocHelperPlugin if you want to use autodetection of user coutry for coutry field

*----------------------------------------------------

symfony propel-build-all-load MY_APP

Modules

spyFormBuilderFront

Show a forms, depends of the form_id

It's the front modue Don't missing to activate on your settings.yml

You can also use the component like that

    include_component('spyFormBuilderFront','displayForm',array('form_id'=>$form_id));

And for the Back

spyFormBuilderInterface

Managment For forms

spyFormBuilderInterfaceTemplate

Template for the form

spyFormBuilderInterfaceFields

The fields Managment

Explaination for the lib folder

Fields

Definition of a field's param form structure

The structure is

{{TYPE_NAME}: #Nom du type 
  params: #Début de liste des parametres
    {{NOM_DU_PARAM}}: # Nom du parametres
      label: {{LABEL}}  #Titre du champ pour le param
      field:  #Champ de saisi du résultat
        type: {{TYPE_DU_CHAMP}}
        {{OPTIONS}}

=============== Edition of one savedForm ======

To edit the savings data you must pass into the component the param

allow_edit=> true

And to retrive the id into the DB Set the request parameter spyformbuilderdatabase_last_id with the id