Giter Site home page Giter Site logo

ninja-forms-modal's Introduction

=== Ninja Forms - Modal ===
Contributors: jameslaws, kstover
Tags: form, forms, contact, modal, pop-up, popup
Requires at least: 3.5
Tested up to: 3.7.1
Stable tag: 1.0.3

License: GPLv2 or later

Ninja Forms Modal makes it super easy to open any Ninja Form in a pop up modal from a text or image link.

== Description ==

Ninja Forms Modal makes it super easy to open any Ninja Form in a pop up modal from a text or image link. This plugin requires [Ninja Forms](http://ninjaforms.com) to function.

Simply use the [ninja_forms_modal] shortcode and pass it the following parameters: your form ID (id), the text or image url you would like to be used as the link to your Ninja Forms Modal (text_link, image_link).

Here is a example of a text link: [ninja_forms_modal_form id=2 text_link="Click here to fill out out form"]

Here is a example of a text link: [ninja_forms_modal_form id=2 image_link="http://yourdomain.com/img/yourimage.png"]

Now when anyone click that link your Ninja Forms will open in a very nice modal window. Coming soon we will be adding style definitions for the modal window to the Ninja Forms Layout & Styles Extension.

Ninja Forms Modal uses jQuery Modal which is licensed under the [MIT License](http://opensource.org/licenses/MIT)

== Installation ==

This section describes how to install the plugin and get it working.

1. Upload the `ninja-forms-modal` directory to your `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress

== Use ==

For any assistance, please visit our website: [NinjaForms.com](http://ninjaforms.com)

== Changelog ==

= 1.0.3 (29 July 2015) =

*Bugs:*

* Fixed a bug that could cause fatal errors if Ninja Forms core is deactivated.

= 1.0.2 - 02/12/2014
* Fixed a compatibility issue with Ninja Forms version 2.5.

= 1.0.1 - 11/20/2013 =
* Fixed some resizing issues when multiple forms were on the same page.

= 1.0.0 - 11/19/2013 =
* Initial release

== Upgrade Notice ==

= 1.0.1 =
Fixed some resizing issues when multiple forms were on the same page.

ninja-forms-modal's People

Contributors

jameslaws avatar kstover avatar alexd73 avatar

Stargazers

Brian J King avatar Luke Cavanagh avatar Ryan McQuen avatar

Watchers

Nathan Tyler avatar James Cloos avatar  avatar Dave Kiss avatar  avatar Brian J King avatar Daniel avatar  avatar

ninja-forms-modal's Issues

need ifexists on Ninja forms functions

undefined function ninja_forms_return_echo() in /Users/zskaggs/Documents/WordPress/wp-content/plugins/ninja-forms-modal/includes/shortcodes.php on line 46

AWeber + Modal = no redirects

I need some help resolving Case #2185 regarding a conflict between Ninja Forms Modal and Ninja Forms Aweber.

An AWeber form without modal, redirects correctly.
A Modal form without AWeber, redirect correctly.
However, a modal form with AWeber does not redirect when the form is submitted. The modal window simply closes, though the email is sent to AWeber.

The Aweber signup happens on the following hook:

add_action( 'ninja_forms_process', array( $this, 'check_for_email_signup' ), 20 );

I don't know enough about Modal to know why this would cause problems and feel like I am just spinning my wheels here.

Add "class" to shortcode attributes

Adding a class parameter would help users match their buttons/links to the style of their theme

extract( shortcode_atts( array(
        'id' => '',
        'text_link' => '',
        'class' => '',
        'image_link' => '',
    // ...etc
    ), $atts ) );

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.