README.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Drupal modal_forms module:
  2. ------------------------
  3. Maintainers:
  4. Fredrik Jonsson (http://drupal.org/user/5546)
  5. Requires - Drupal 7
  6. License - GPL (see LICENSE)
  7. Overview:
  8. --------
  9. Modal forms make use of the modal feature in the ctools module to open
  10. some common forms in a modal window.
  11. Supported forms:
  12. ---------------
  13. Modal forms can automatically rewrite links to the following forms and place them in a modal.
  14. * Log in (modal_forms/nojs/login)
  15. * Request new password (modal_forms/nojs/password)
  16. * Create new account (modal_forms/nojs/register)
  17. * Comment (modal_forms/nojs/modal_forms/nojs/comment/reply/[nid])
  18. * Contact (modal_forms/nojs/contact)
  19. Webforms:
  20. --------
  21. There is support to open webforms in a modal by constructing special links.
  22. A webform link should look like this one:
  23. <a class="ctools-use-modal ctools-modal-modal-popup-large" href="/modal_forms/nojs/webform/[nid]">Link to click</a>
  24. Replace [nid] with the node id of your webform.
  25. Second class is optional, you can use one of this:
  26. ctools-modal-modal-popup-small (300x300);
  27. ctools-modal-modal-popup-medium (550x450);
  28. ctools-modal-modal-popup-large (80%x80%).
  29. Installation:
  30. ------------
  31. 1. Download and unpack the Modal forms module directory in your modules folder
  32. (this will usually be "sites/all/modules/").
  33. 2. Go to "Administer" -> "Modules" and enable the module.
  34. Configuration:
  35. -------------
  36. Go to "Configuration" -> "Development" -> "Modal forms" to find
  37. all the configuration options.