In my project I created several markers in openlayer map. On clicking this maker a openlayer popup with title will be displayed.
Title is a link to another popup window, that is pop upped using lightbox2 7.x-1.0-beta1 module.
Popup window is a view with some data. Mainly for filtering the map.
For displaying the map I created a openlayer data overlay view that contains field of location and title and in the title field I just check the 'Rewrite the output of this field' in settings and give a text <a href='/viewname' rel='lightmodal'>[title]</a> in the text field for popping up a window using lightbox module.
Initially the popup of lightbox is not popping up. By using this patch in the issue has solved that issue.
But the problem is that after popping up the window using lightbox. I close the lightbox popup and openlayer popup also. After that when I click on the openlayer marker it not popping up any popups.
The following error is being displayed Uncaught TypeError: Cannot call method 'apply' of undefined in the console.

Comments

jetsonjohn’s picture

Same issue faced when I use colorbox module also.

MScerri’s picture

Version: 7.x-2.x-dev » 6.x-2.0-beta3

I am facing the same issue when using Lightbox2 with OpenLayers version 6.x-2.0-beta3. I too used the patch mentioned above to solve the lightbox2 popup issue.

ken-g’s picture

Issue summary: View changes
Status: Active » Closed (outdated)