Active
Project:
Lightbox2
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Jun 2011 at 19:09 UTC
Updated:
14 Jun 2011 at 23:47 UTC
Jump to comment: Most recent
I am using lightframe for users to edit a node and I wanted to use Rules to close the lightbox window when the node is updated.
How do I call the "close lightbox" function from PHP / javascript ?
I can't use lightmodal because the form will include <html><body> tags.
Comments
Comment #1
Anonymous (not verified) commentedAny progress here? I need the same thing.
Comment #2
astanley86 commentedYes! My friend gave me the solution here's what you do:
create an confirmation.html page with the following code:
Then you just set up rules to have the page be redirected to "confirmation.html" when content is updated. I only wanted a certain content type to open in lightbox so you would want to add that parameter to the rule.