i have a weird error , Elgg-lightbox doesnt work on some pages .
for example on river. when i click a link that has 'elgg-lightbox' class it will not display a lightbox ,but just load a new page as usual.
but elg-lightbox still works other page like entity full_view page.
Does anyone know what is the problem ?
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.
- Matt Beckett@Beck24
Matt Beckett - 0 likes
- Avicena AlGhiffar Alsharaawy@AVicenaGhifa
Avicena AlGhiffar Alsharaawy - 0 likes
- Avicena AlGhiffar Alsharaawy@AVicenaGhifa
Avicena AlGhiffar Alsharaawy - 0 likes
- iionly@iionly
iionly - 0 likes
- Avicena AlGhiffar Alsharaawy@AVicenaGhifa
Avicena AlGhiffar Alsharaawy - 0 likes
- Cim@manacim
Cim - 0 likes
You must log in to post replies.Sounds like there's probably a javascript error on those specific pages that breaks javascript for the rest of the page. You'll need to check the browser console to look for that.
i found no error in my browser console
I realise something. , only new river item that fail to load elgg-lightbox , so if on a page there is a new river item (river otam that created after July 2016) , elgg-lighbox will not work , do you know what file I must check for this problem ?
Which version of Elgg are you using? Is it the latest version of the corresponding branch?
What kind of river entries have the issue? Are you using the latest version of the plugin responsible for creating these kind of river entries?
Could it be that you are using a plugin that is not compatible with the Elgg version you use? This could cause issues that might seem to have no connection with this plugin at all.
I found the problem. That's my mistake. I'v fixed the problem :)
@iionly I'm gonna assume he has an ajax based river so the lightbox script isn't being reinitialized.