This module gives Drupal the ability to easily change links into popup dialog boxes.
There are a couple of ways to use this module.
The simplest is to add the popup class to an existing link, either in code:
popups_add_popups();
$output .= l("Pop up entire local page.", 'popups/test/response', array('attributes' => array('class' => 'popups'))) ."
";
or on the theme level:
element(s).
* 'table td:nth-child(2) a' => array(
* 'noReload' => true, // Popup will not modify original page.
* ),
* )
* Options:
* noReload: Does the popup NOT modify the original page (Default: false).
* surpressMessages: Don't show the messages the form returns in a popup (Default: false).
* additionalJavascript: Array of JavaScript files that must be included to correctly run the page in the popup.
* additionalCss: Array of CSS files that must be included to correctly style the page in the popup.
* forceReturn: url to force a stop to work flow (only use in conjunction with noReload).
* href: override the href in the a element, or attach an href to a non-link element.
*