GithubHelp home page GithubHelp logo

pmoreno-rodriguez / grav-plugin-form Goto Github PK

View Code? Open in Web Editor NEW

This project forked from getgrav/grav-plugin-form

0.0 0.0 0.0 3.38 MB

Grav Form Plugin

Home Page: http://getgrav.org

License: MIT License

Shell 0.02% JavaScript 22.20% PHP 40.17% SCSS 2.44% Twig 35.17%

grav-plugin-form's Introduction

Grav Form Plugin

The form plugin for Grav adds the ability to create and use forms. This is currently used extensively by the admin and login plugins.

Installation

The form plugin is easy to install with GPM.

$ bin/gpm install form

Configuration

Simply copy the user/plugins/form/form.yaml into user/config/plugins/form.yaml and make your modifications.

enabled: true

How to use the Form Plugin

The Learn site has two pages describing how to use the Form Plugin:

Using email

Note: when using email functionality in your forms, make sure you have configured the Email plugin correctly. In particular, make sure you configured the "Email from" and "Email to" email addresses in the Email plugin with your email address.

NOTES:

As of version Form 6.0.0 forms are no longer initialized before caching, but when the form is requested. This has been done to make dynamic forms to work better with caching. There may be some backward compatibility issues for logic that modifies pages with forms as the modification doesn't happen without accessing the form first.

As of version Form 5.0.0 Grav 1.7+ is required.

As of version Form 4.0.6, form labels are now being output with the |raw filter. If you wish to show HTML in your form label, ie Root Folder <root>, then you need to escape that in your form definition:

label: Root Folder &lt;root&gt;

grav-plugin-form's People

Contributors

rhukster avatar mahagr avatar flaviocopes avatar w00fz avatar nicohood avatar sommerregen avatar qumuq-til avatar ricardo118 avatar hwmaier avatar lufog avatar tcsizmadia avatar karmalakas avatar hughbris avatar jjui avatar stephan-strate avatar z38 avatar hgiritzer avatar codebee-fr avatar stvnthomas avatar sergixnet avatar paulmassen avatar olevik avatar hexplor avatar jgonyea avatar hugoaf avatar cedroux avatar anaelmobilia avatar apxwn avatar darkiron avatar leotiger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.