I created a popup to summarize my page content using .elgg-lightbox in Elgg 3.0.3. But when .elgg-lightbox element is triggered, it returns the popup with only plain HTML text, no CSS properties with it.
//creating a link
elgg_view('output/url', array(
'href' => elgg_get_site_url( ) . 'plugin_name/summary_view',
'text' => 'Summary',
'class' => 'elgg-lightbox',
'data-colorbox-opts' => json_encode([
'width' => '80%',
'height' => '80%',
'iframe' => true,])
));
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Thank you guys!!
- Previous
- 1
- 2
- Next
You must log in to post replies.