ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - WebAssist Google maps ext
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

WebAssist Google maps ext

 Post Reply Post Reply
Author
Message
crusty View Drop Down
Newbie
Newbie
Avatar

Joined: 07-July-2007
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote crusty Quote  Post ReplyReply Direct Link To This Post Topic: WebAssist Google maps ext
    Posted: 07-July-2007 at 5:28am

I am tyring to use the Google Map extension form WebAssist in a Content page called 'Contact Us'. the URL is:

http://www.fivecentlemonade.com/store/pc/viewContent.asp?idp age=2

My issue is that the map is not showing up. If you click and drag over the page you can see the footprint though.

I am pretty sure the issue is that I do not have the script tags that need to go in the header of the page. Maybe my limited ASP knowledge is at play too.

In order for the extension to work, the following script tags need to go in the header of the page:

<script type="text/javascript" src="../../google_javascript/wagt_map_2.js">/*wagt*/</ script>
<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=AB QIAAAAh_ptJzv7MbJv0kklJOTNkxRig9N4vCQrONC7sB9mJVqu_I1yPBR7BE 3IrV9vaZ4qMh1TDrmfP-afWw">/*wagt*/</script>


and then the following line goes in the body where the map should appear ont he page:

<div id="wagt_map_2" style="width: 500px; height: 300px;"></div>

Now I am pretty sure the problem is that the 'div' tag can not find the associated JS file. This is eihter becuase it can not see the associated <script> tag in the header or I do not have the js directory (google_javascript/wagt_map_2.js) in the right palce or I am not pointing correctly to it.

I tried placing the <script> tags in the store/pc/header.asp but still no map. Is that going to work with the ProductCart content pages? Would the 'idpage=2' be able to see the script tags in the header? Is there another place I should put the script tags?

Now I was using a releative path in the <script> tag to point to the google_javascript/wagt_map_2.js DIR (src="../../google_javascript/wagt_map_2.js">). Would that be correct for the 'idpage=2' content? The directory is in the root directory. In another words, is the content pages created in the control panel in the same directory as the store/pc/viewContent.asp?

thanks in advance for your help.

Crusty

Miami

Back to Top
Tzur-pc View Drop Down
Newbie
Newbie
Avatar

Joined: 01-March-2007
Location: Israel
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tzur-pc Quote  Post ReplyReply Direct Link To This Post Posted: 09-July-2007 at 11:23pm

Hi,

I also need to know how to change the "idpage=x" to page name such as aboutUS or contactUs and on and on.......

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.068 seconds.