Closed (fixed)
Project:
Popups API (Ajax Dialogs) [D7]
Version:
6.x-2.0-alpha6
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2008 at 10:30 UTC
Updated:
7 Mar 2011 at 03:46 UTC
Comments
Comment #1
jcnventuraHi,
Not for the moment. It might be an idea for the future.
João
Comment #2
chandrabhan commentedI am planning to give it a shot using lightbox2, but not sure how to close the popup automatically after the form submit.
Comment #3
jcnventuraHi,
I think what you need is the Popup Dialogs module (http://drupal.org/project/popups).
Give it a try, and tell me if it worked for you.
João
Comment #4
spiffyd commentedDoes any one know how to configure the popup dialogs module with the email link?
I'm assuming you add the class "popups-form" to the email links. Any pointers on how to go about doing that?
Comment #5
jcnventuraIn the advanced link settings for each of the print modules, there's a input field where you can specify which class(es) you want the link to have..
João
Comment #6
chandrabhan commentedNope, not able to make it work with 'popups' module. The popup itself is not coming up. Looks like the js and css files that come with module are not getting included (even after calling popups_add_popups method in the pag template)
Comment #7
jcnventuraYes I also had a lot of trouble getting it to work.
However, once you do get it working it really does what you want.
I am moving this to the popup module issue queue and asking starbow what is the correct way of enabling the popups on a form: is it adding a popups class or via the hook_popups?
João
Comment #8
starbow commentedThis should be much easier now.
Either use the "Scan all pages" checkbox in the popups setting, and just add the 'popups-form-noreload' class to the link, or use the '*' wildcard rule in a your_module_popups hook.
For example, if you wanted to add this to the core print module
Comment #9
jcnventuraThanks!
I already allow the site admin to set a class for the link, so I will be recommending that one.
João
Comment #10
chandrabhan commentedWorking fine for me. thanks a lot guys.
Comment #11
spiffyd commented@starblow, can you clarify where you added the php print_popups function?
Comment #12
starbow commentedThat function would go in the print.module. A cleaner solution would be to put it in your own module:
Comment #13
spiffyd commentedAny suggestions on what's the easiest way to enable popup modal dialogue support for the Contact form (from the core contact module) when clicked from a primary link?
Comment #14
starbow commentedwrong issue queue for new requests.
Comment #15
chandrabhan commentedI thing though regarding the 'email' popup. When I click cancel in the popup, the window does not get closed and the resulting page is shown within the popup only. What do I need to do so that the window closes automatically? The class that I am using for the email link is "popups-form-noreload".
Comment #16
starbow commentedYou might be running into #335506: Popup not closing on links in nodes with aliased urls
Comment #17
chandrabhan commentedThanks. It is working in RC7. I also liked the way you are shwing any error message in the popup.
Comment #19
spiffyd commentedDoes someone have a link to a demo of how email modal popups look like?
Comment #20
beckyjohnson commentedI can't get this to work with 6.x-2.0-alpha6. I am using the right class and putting it in the right area. I also scanned pages for popups too. No dice, is anyone else having this issue?