Bachir Soussi Chiadmi 1bc61b12ad first import 10 years ago
..
css 1bc61b12ad first import 10 years ago
images 1bc61b12ad first import 10 years ago
js 1bc61b12ad first import 10 years ago
LICENSE.txt 1bc61b12ad first import 10 years ago
README.txt 1bc61b12ad first import 10 years ago
modal_forms.admin.inc 1bc61b12ad first import 10 years ago
modal_forms.info 1bc61b12ad first import 10 years ago
modal_forms.install 1bc61b12ad first import 10 years ago
modal_forms.module 1bc61b12ad first import 10 years ago
modal_forms.pages.inc 1bc61b12ad first import 10 years ago
modal_forms.rules.inc 1bc61b12ad first import 10 years ago

README.txt

Drupal modal_forms module:
------------------------
Maintainers:
Fredrik Jonsson (http://drupal.org/user/5546)
Requires - Drupal 7
License - GPL (see LICENSE)


Overview:
--------
Modal forms make use of the modal feature in the ctools module to open
some common forms in a modal window.


Supported forms:
---------------
Modal forms can automatically rewrite links to the following forms and place them in a modal.

* Log in (modal_forms/nojs/login)
* Request new password (modal_forms/nojs/password)
* Create new account (modal_forms/nojs/register)
* Comment (modal_forms/nojs/modal_forms/nojs/comment/reply/[nid])
* Contact (modal_forms/nojs/contact)


Webforms:
--------
There is support to open webforms in a modal by constructing special links.

A webform link should look like this one:

Link to click

Replace [nid] with the node id of your webform.

Second class is optional, you can use one of this:

ctools-modal-modal-popup-small (300x300);
ctools-modal-modal-popup-medium (550x450);
ctools-modal-modal-popup-large (80%x80%).


Installation:
------------
1. Download and unpack the Modal forms module directory in your modules folder
(this will usually be "sites/all/modules/").
2. Go to "Administer" -> "Modules" and enable the module.


Configuration:
-------------
Go to "Configuration" -> "Development" -> "Modal forms" to find
all the configuration options.