Closed (fixed)
Project:
Popup
Version:
7.x-1.3
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2014 at 04:03 UTC
Updated:
4 Feb 2014 at 17:10 UTC
Jump to comment: Most recent
Comments
Comment #1
etelecom commentedComment #2
Scheepers de Bruin commentedHi etelecom
Rather use:
module_load_include('inc', 'popup', 'includes/popup.api');to include the popup API. But that's not the issue...
The call to popup(..) only returns a rendered html representation of the popup and makes sure all the correct js etc is loaded onto the page.
To get your popup to show remember to print the output:
Comment #3
Scheepers de Bruin commentedComment #4
etelecom commentedThank you for your prompt reply! That solved my problem.
However, I could not get the 'image' attribute to work. I had to use the title field set to
<img src='path_to_image'/>. I found this "solution" in another thread (https://drupal.org/node/1804536).