Common Module Issues

  • Published in FAQs
  • Updated 21 Jun, 2017

Below you will find a (growing) list with common problems of modules that doesn't work properly when they are loaded within EngageBox.

BT Google Maps

Issue: Map doesn't show up
When the map's div, or it's parent, or it's parent parent (any predecessor) has display:none style, the map view won't initialize properly. You have to trigger resize event on map for it to reinitialize the map view.

Fix: We need to listen to the afterOpen box's event in order to re-initialize the map once the box has been fully opened. Place the following Javascript snippet into the box's Custom Code field (Advanced Tab).

jQuery(function($) {
	// Enter box ID here
	var boxID = 1;

	// Do not edit below
	$("#rstbox_"+boxID).bind("afterOpen", function() {
		initializeMap(config, markersCode, stylesCode, boxStyles);
	});
});

Don't forget to wrap the code with the <script> element.

Get Engage Box for Joomla! for just 29€ Get it now!
Don't miss a thing!
Stay up-to-dated with my latest blog articles
Receive updates for my Joomla Extensions
No Spam! It's a promise.