hi. i'm quite interested in using this for assorted help and simple content presentation in modal popup boxes, not specifically for interaction (eg. not for file uploading etc)
for example, in registration i've got a required field for 'i have read your terms of service and privacy statement' - those right now link via description to two nodes, but what i'd love to be able to do is have those two nodes' links simply popup/present modals - same for some assorted help/links..
i just don't understand if it does this, and if so how it controls sizing and all of that...maybe i've got it all wrong...
Comments
Comment #1
antarctican commentedI had the same thought, that's what I thought this module did when I originally downloaded it. Is there a way to add popups to our non-admin pages?
Thanks.
Comment #2
starbow commentedLet me check. I am not sure how much of the D7 enhancements I have backported into the D6 version....yeah, looks like it is there.
Try adding a class="popups" to your link. You will also need to call popups_add_popups() somewhere in the code that is creating your page, or add the popups.js and popups.css by hand.
Comment #3
zilla commentedthanks. i'll try this out...
Comment #4
whitesun commentedHi
zilla! is it working the way you wanted it to work?
I mean: Have you been able to add popups to your contents?
I shall also like to use this module to add popups to my contents in case it works smoothly.
Comment #5
zilla commentedhaven't tried it yet ;) i'll let you know when i do...
Comment #6
alpapan commentedyes it works.
I haven't found how to set the size of the window yet though...
Comment #7
starbow commentedRight, there is no way to pass in a width using this approach. It should autofit the height though (assuming that got backported from the D7 version :)
If you just need all your popups a different width, you could just change it in the popups.js file.
Comment #8
chirale commentedHere the steps I follow to get it works:
1) Popup works fine, but when I save the content remains on the popup and the original page isn't reloaded.
2) Another issue: I'm using BUEditor and the buttons aren't displayed before textareas.
Comment #9
starbow commentedWith the latest version, try
'attributes' => array('class' => 'popups-form')
Comment #10
starbow commented@chirale; In the latest version (1.1-beta3) you can use the 'on-popups-options' attribute to add the 'additionalJavascript' option. This will allow you to add the BUEditor javascript to your popup.
#
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.