MD Custom Modules interfering with Gmap Module

triverden's picture
triverden
Wed, 09/30/2015 - 10:57
#1
MD Custom Modules interfering with Gmap Module

Hello,

We are going to be using the gmap module and building a view with it.  Currently, it seems like the MD Custom Module part of the template conflicts with the gmap module, please see the error below. Please advise, if you disable this custom module, there are issues with the menu.  Additionally, the pop up bobble function part of the gmaps view settings doesn't work either. What is the suggested fix?

  • Notice: Undefined index: config in md_block_custom_preprocess_gmap() (line 282 of /home/triverde/public_html/flagler/sites/all/modules/custom/md_block_custom/md_block_custom.module).

  • Warning: Invalid argument supplied for foreach() in md_block_custom_preprocess_gmap() (line 282 of /home/triverde/public_html/flagler/sites/all/modules/custom/md_block_custom/md_block_custom.module).

  • Notice: Undefined index: config in md_block_custom_preprocess_gmap() (line 282 of /home/triverde/public_html/flagler/sites/all/modules/custom/md_block_custom/md_block_custom.module).

  • Warning: Invalid argument supplied for foreach() in md_block_custom_preprocess_gmap() (line 282 of /home/triverde/public_html/flagler/sites/all/modules/custom/md_block_custom/md_block_custom.module).

phuonght's picture
phuonght
Wed, 09/30/2015 - 23:20

Hi,

This module is one of custom modules for theme, it is required. Disabling will lead errors.

If you would not like to use Gmap, please disable block MD Site: Gmap at Footer and Contact page.

Image title

Image title

triverden's picture
triverden
Thu, 10/01/2015 - 09:54

This did not work. Please see:

Error page:

http://flagler.triverden.com/business-directory

Map removed from all other pages.

http://flagler.triverden.com/contact

http://flagler.triverden.com/contact-alt

http://flagler.triverden.com/contact-alt2

Please advise, we need to be able to use gmap with this theme. 

triverden's picture
triverden
Sun, 10/04/2015 - 11:24

Do you have an update on this? I need to know if I need to get a different theme if this one conflicts with gmap, a pretty commonly used Drupal Module.

phuonght's picture
phuonght
Sun, 10/04/2015 - 23:37

Hi,

Sorry for our late reply.

Could you send us your site url, admin account and FTP account? We would like to have a check.

Please remember to send by comment form and check "Private message" for security reason.

phuonght's picture
phuonght
Mon, 10/05/2015 - 23:41

Hi,

We fixed problem already. Please check your site and see if it works :)

triverden's picture
triverden
Tue, 10/06/2015 - 08:09

Please see http://flagler.triverden.com/business-directory

The map now shows up, however the gmap pop up bubbles don't work when you click on the blue markers.  So there is still some sort of conflict.  Can you fix that?

phuonght's picture
phuonght
Wed, 10/07/2015 - 00:11

In our theme, there is a block gmap that can work well on your site. We think you could try to use it instead of module gmap.

triverden's picture
triverden
Thu, 10/08/2015 - 09:31

No it can't, we need the functionality of the gmap module to plot gmap markers for content types on the map. Gmap is a module that has been around for a long time, and your theme and custom modules don't work with it. Let me know if you are going to fix this, I think I need to buy a new theme and report incompatability with your theme and gmap on themeforest.

phuonght's picture
phuonght
Thu, 10/08/2015 - 22:55

Please help us change into bartik theme and test your map again. We tested map and there was no popup. We think problem does not come from our theme.

triverden's picture
triverden
Fri, 10/09/2015 - 11:33

Changing to Bartik doesn't help, because it's just switching the theme. All of the MD custom modules are still active when you change themes. I can do a fresh drupla install, in the same folder to prove it's not the gmap or server, it is conflicts with your custom modules.

Gmaps doesn't not work correctly with this theme, please advise.

Scott

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.