Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I just got on as a maintainer for this module so I'm trying to apply fixes we'd made for our sites back to the module. Hopefully it'll work as well for other people.
The two big improvements are compatibility with the jQuery Update module and the ability to use JS aggregation.
6.x--2-0-ALPHA4
Features
* Broadcast "Popups Open Path Done" event.
* Huge change - Popup Stacking now works. Can have multiple Popups in the dom.
** Skins change most ids to classes.
** Introduced Popups.Popup object.
Other
* Clean up.
* Using Drupal.parseJson instead of eval for encoded options.
6.x--2-0-ALPHA3
Bug Fixes
* Removing the jit css files on popups close.
Other
* Removing additionalJavascript, additionalCSS and additionalJavascriptSettings.
6.x--2-0-ALPHA2
New Features
* http://drupal.org/node/336641 - Nate's big ol' just-in-time css and js loader patch
Issues
* JIT loaded css and js are not unloaded when popup is dismissed
* File order is not maintained. JIT files are loaded after page's original pages.
* Inline scripts need more testing:
** Should inline scripts be called before or after popup content is loaded?
*** Poll wants to go after
** Should already loaded inlines be executed again?
Todo
* Can I control order of css adds (modules vs themes)?
* What about multiple popups - can I flag the js files as already loaded?
** Inlines will still want to be run again.
* Q: Why the heck is the poll script inlined and not a behavior?
* Drupal.popups.restorePage();
* Not working with Popup: A&R?
6.x--2-0-ALPHA1
New Features
* http://drupal.org/node/364712 (sirkitree) - Customize loading graphic.
* Using a small popup signifier icon instead of unicode char (pulled from D7 patch).
* http://drupal.org/node/372378 - sirkitree & Rob Loach - popup skin interface.
* Added Facebook skin by sirkitree
* Added Blue skin by Tj Holowaychuk
* Unskinned skin checks current theme for popups-skin.js
* Rebranching 6.x-1.2 from 6.x-1.2-alpha1.
* Removing more advanced feature in alpha2 and alpha3.
* Aiming for compatibility with Popups: A&R
New Features
* Compatibility with Popups: Add and Reference
** Adding broadcasting of a couple of popup lifecycle events (popups_open_path, popups_form_success).
* http://drupal.org/node/336063 - Adding optional afterSubmit callback.
Other
* Added a couple new comments and cleaned up some obsolete code in popups.js
6.x--1-2-ALPHA3
New Features
* http://drupal.org/node/336641 - Nate's big ol' just-in-time css and js loader patch
Issues
* JIT loaded css and js are not unloaded when popup is dismissed
* File order is not maintained. JIT files are loaded after page's original pages.
* Inline scripts need testing
** Should inline scripts be called before or after popup content is loaded?
*** Poll wants to go after
** Should already loaded inlines be executed again?
6.x--1-2-ALPHA2
New Features
* http://drupal.org/node/364712 (sirkitree) - Customize loading graphic.
* Using a small popup signifier icon instead of unicode char (pulled from D7 patch).
* http://drupal.org/node/372378 - sirkitree & Rob Loach - popup skin interface.
* Added Facebook skin by sirkitree
* Added Blue skin by Tj Holowaychuk
* Unskinned skin checks current theme for popups-skin.js
6.x--1-2-ALPHA1
New Features
* Adding broadcasting of a couple of popup lifecycle events (popups_open_path, popups_form_success).
* http://drupal.org/node/336063 - Adding optional afterSubmit callback.
Other
* Added a couple new comments and cleaned up some obsolete code in popups.js
5.x-1.0-beta2
Bug Fixes
* Corrected noReload to not force cold reload if there is a form (really should backport reloadWhenDone flag).
* Changed $form['#submit'] to use proper D5 syntax.
* Updated README docs.
* http://drupal.org/node/358498: Got passing jslint
Yeah, an actual release!
No real changes since RC8, but here is the (almost) complete changelog for the 1.1 branch.
6.x--1-1
* Removed a couple non-working links from popups_admin.module.
6.x--1-1-RC8
New Features
* http://drupal.org/node/336058 by quicksketch: use drupal_match_path() to allow wildcards in url path.
* Automatically set the url's destination to return to the original page (if forceReturn is not used).
* Added an agressive alert if the theme's content selector is incorrect.
Pre-release Clean up
* noReload renamed noUpdate (for now noReload still works).
* class popups-form-noreload renamed popups-form-noupdate (for now popups-form-noreload still works).
* Popup testing code moved into popups_test module.
* Improved documentation in Readme.
6.x--1-1-RC6
New Features
* Added class=popups-form-noreload.
* Added wildcard, '*', that adds popup rule to every page (http://drupal.org/node/241504).
Bug Fixes
* noReload=TRUE now works coorectly for forms (http://drupal.org/node/333343).
6.x--1-1-RC5
New Features
* new option: reloadWhenDone - better way to cold reload the page, b/c form will stay in popup
on validation errors (http://drupal.org/node/330608)
6.x--1-1-RC6
New Features
* Added class=popups-form-noreload.
* Added wildcard, '*', that adds popup rule to every page (http://drupal.org/node/241504).
Bug Fixes
* noReload=TRUE now works coorectly for forms (http://drupal.org/node/333343).
6.x--1-1-RC5
New Features
* new option: reloadWhenDone - better way to cold reload the page, b/c form will stay in popup
on validation errors (http://drupal.org/node/330608)
* new class: popups-form-reload - adds popup behavior to link, with option reloadWhenDone = TRUE.
* new option: reloadOnError - don't show "Unable to load page" error. Specifically for "logout" link,
because loging out erases session and so can't return json.
6.x--1-1-RC3
New Features
* "Scan all pages" setting.
Bug Fixes
* Documentation used to lie like a dog about including popups in the theme layer. Need to use new scan all checkbox.
6.x--1-1-RC2
New Features
* updateTitle changed to titleSelectors, now an array of selectors.
* New test added for titleSelectors.
* targetSelector -> targetSelectors, and can be array as well as hash.
* new targetSelectors test.
* Can now force page reload of page by setting noReoad => true on a popup with a form.
* more documentation
Bug Fixes
* Per-theme content selector fixed.
* http://drupal.org/node/324742 (lowkee) -
New Features
* options.targetSelector is now a hash.
* Better error handling in Drupal.popups.openPath
* New test for popups_add_popups($rules)
* Better README - now recommends popups_add_popups($rules)
* Seperated the Popups API from the hook that adds popups to admin pages.
Bug Fixes
* Using $(document).height instead of $('body').height.
Known Issues
* Not working with CCK-rc10.
6.x--1-1-beta5 (released in conjunction with Popups: Add and Reference).
New Features
* Moving content selector settings to per-theme.
* Removed page title select (until I get it working better).
* targetSelector now working properly.
* Final messages now auto-close by default.
* More tests added to /popups/test
* Added some fun CSS3 effects to the default skin.
Bug Fixes
* class='popups' was reloading entire content area.
* forceReload wasn't testing correctly.
* Moving to slicker D7 style, using http headers not url.
* Adding popups-skin css (Inspired by Tj Holowaychuk, although I haven't yet integrated his skin).
* Moved popup xhtml into .php file.
TODO
* re-examine nedjo's suggestions.
* intrgrate Tj's skin
* Improve README with instructions on using hook_popups.
Improved error handling in js.
Fixed problem with destination param overpowering redirect.
Ran js through jslint. Now working with IE7.
Removing page.tpl.php
Big improvements:
Untheming the form results!
Showing message and errors as secondary popup.
hook_popups to gather rules from other modules.
Animated loading gif.