Adding a google map to my Contact Us page

Zymurgy's picture

Zymurgy
March 24, 2011
4:21am

Good Morning from sunny 6 degrees C York UK :-)

Whilst i know the about us page has a google map automatically available i want to add a google map to my Contact page. My question is please -
"How do you enable the contact us page to embed a google map"
I understand how to do it but just need to know how to switch it on with a page that does not offer it.

Here is the page i want to add a google map to:
http://beaweddingphotographer.drupalgardens.com/contact

Here is a screen grab with an arrow pointing to where i'd like the map:
http://i216.photobucket.com/albums/cc53/zymurgy_bucket/google-map-prob.jpg

A guess i'm looking to configure what the contact page automatically offers.

Thanks in advance,
David

Status: Resolved

Comments

Moderator
George Cassie March 24, 2011
9:59am

Hi David,

Since the contact form isn't content, a slightly different approach is needed.

  • Grab your map embed code from Google.
  • Visit Structure > Blocks and click + Add block .
  • Switch the block body format to Full HTML, then click over to the HTML tab and paste in your embed code.
  • In the Region settings, place the block into the Page content on your default theme.
  • In Pages, set it to only display on contact and save.
  • You may have to position the block under your Main page content, as well.

That should do it.

George Cassie
Gardens Advisory Team

support132 April 20, 2012
7:21pm

Awesome thanks!

This topic has been closed to further comments.

Feedback