Automodal URL
Component ID
1070826
Component name
Automodal URL
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
1287
Component created
Component changed
Component body
Automodal URL will allow you to pass a path in your URL to be loaded as a modal frame upon page load. One concrete example of this would be to have the user add a profile upon registering.
Usage
The way to accomplish the above example would be by adding a class="automodal" to your node/add/profile link, then, upon registration, redirecting the user to ?q=user&automodal=node/add/profile.
The code will look for any .automodal link that matches the path passed in the URL, and will trigger a click on it.
To do
- Add visibility settings (similar to block visibility settings).
Dependencies
This module depends on Automodal, which in turn depends on Modal Frame API, which in its own turn depends on jQuery UI.
Credits
- Developed by Victor Kareh (vkareh)
- Sponsored by Digital Works @ NBC Universal
