Forums / General Questions / Google Maps on Contact Us - EZ Pages / tpl_contact_us_default.php

Google Maps on Contact Us - EZ Pages / tpl_contact_us_default.php

Results 1 to 4 of 4
29 Apr 2015, 17:33
#1
whitephantom avatar

whitephantom

Zen Follower

Join Date:
Jan 2010
Posts:
105
Plugin Contributions:
0

Google Maps on Contact Us - EZ Pages / tpl_contact_us_default.php

Hi,

My site is using v1.5.4 and is used to showcase products only - no pricing shown.

Instead of the price, it shows 'Contact Us', which leads to the tpl_contact_us_default.php page. I have edited that file to insert code that shows my Google Map, and it's working fine.

However, the Contact Us link in my sidebox uses an EZ Pages "Contact Us" instead - I can't see how to call the tpl_contact_us_default.php from the sidebox. I've edited the EZ Pages file to look the same as the one that's called from the products pages - except I can't get it to show my Google Map in it. I've pasted in the same code, but it doesn't work.

I've searched and searched, and can't find an answer that I can get to work. I've tried to follow instructions for embedding an iframe, and also visiting Google maps and using the Embed feature there (it embeds and displays, but without the map marker for the business, which is not much use!)

The site is here http://www.mcgannonforklifts.com/index.php, and you can see the Contact Us if you browse the products, vs the Contact Us that's called from the sidebox.


Any help really appreciated!

WP.
29 Apr 2015, 18:40
#2
badarac avatar

badarac

Totally Zenned

Join Date:
Aug 2009
Posts:
635
Plugin Contributions:
0

Re: Google Maps on Contact Us - EZ Pages / tpl_contact_us_default.php

When you set up the ez page use this index.php?main_page=contact_us in the internal link section. It should call the contact_us page.
30 Apr 2015, 08:41
#3
whitephantom avatar

whitephantom

Zen Follower

Join Date:
Jan 2010
Posts:
105
Plugin Contributions:
0

Re: Google Maps on Contact Us - EZ Pages / tpl_contact_us_default.php

Badarac... you have no idea how happy you've made me!!! :D

I could :cry: when I think of how many hours I spent yesterday trying to get this to work, and now it's sorted in under a minute.


Thank you so much!
30 Apr 2015, 11:26
#4
badarac avatar

badarac

Totally Zenned

Join Date:
Aug 2009
Posts:
635
Plugin Contributions:
0

Re: Google Maps on Contact Us - EZ Pages / tpl_contact_us_default.php

Glad I could help! This forum and user community is a powerful tool. You can save yourself a lot of time and heartache by searching the forums and asking for help here.