Hello,

I'm trying to add the Google Map in the contact form of my site. I have followed the isntructions, enable GMAP module and Location Module, requested the API, generated the macro and added the input format Gmap. But when pasting the macro in the "contact from information" (where you can add text above the form) it just doesn't work, it shows me the code

[gmap zoom=3 |center=40.4412907,-3.6464434 |width=300px |height=200px |control=Small |type=Map]

I have also tried using the information in this blog http://www.norio.be/blog/2008/01/adding-google-map-drupals-contact-form, but it also didn't work. It works in a conent pae, but not in the contact one.

Can anyone help me to find what am I missing?

Thank you.

Comments

manoj_j’s picture

Hi,

in contact.pages.inc line 40 : replace with

check_markup(variable_get('contact_form_information', t('You can leave a message using the contact form below.'))));

Thats it...

Good luck...