why does lightbox works only in some sections ?
the code i have trouble with
if (elgg_is_active_plugin('reportedcontent')) {
elgg_unregister_menu_item('footer', 'report_this');
elgg_register_menu_item('extras', array(
'name' => 'report_this',
'href' => 'reportedcontent/add',
'text' => elgg_view_icon('report-this') . elgg_echo('reportedcontent:this'),
'title' => elgg_echo('reportedcontent:this:tooltip'),
'link_class' => 'elgg-lightbox',
'priority' => 500,
));
}
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.
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- ezisLV@ezisLV
ezisLV - 0 likes
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- ezisLV@ezisLV
ezisLV - 0 likes
You must log in to post replies.You need to load lightbox css and js in earlier Elgg versions.
runing 1.12.14
thanks btw hove to do that ?
A deductive approach would be to search for elgg-lightbox in the source code and read the documentation
thank you