When using Elgg 1.8 it was possible to show up a lightbox with information stored in a (hidden) div on the same page:
echo elgg_view('output/url', array('href' => '#my_link', 'class' => 'elgg-lightbox', 'text' => 'click here'))
. "<div class='hidden'><span id='my_link'>"
. elgg_view_module('info', 'title', 'this is my text') . "</span></div>";
With a click on the link only the info-module was shown.
Since I'm trying Elgg 1.9 the behavior is an other one: Now a click opens the whole page again, embedded in the lightbox-frame. I'm not really sure if this is a bug or even the way I'm trying to place the information into a lightbox-frame. Sure, it is possible to make a new view for the content, but in this case the view have to be reached via a url/href (e.g. via copy/paste into the browser url), which I don't want.
Is it possible to get back the old behavior to store the information for a lightbox-frame?
Thanks a lot for any help!
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.
- Viktor@vPriVate

Viktor - 0 likes
You must log in to post replies.I guess that this has something to do with the fact that "inline"-content is not shown as standard in colorbox. Because I just want to display a picture I found another way than trying to activate inline-elements or using another view for that...