I downloaded the new GoogleMap module yesterday. I have a Google Map API key and the instructions say to add this information to the GoogleMap Administration. Problem is...I don't see an 'Admin' choice next to the GoogleMap module. I see "Deactivate", "Hooks", and "Edit" but no Admin. How do I add my API and Longitude, Latitude, etc.?
Thank you in advance for your help.
Sue
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
GoogleMap Module
-
**unknown user**
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 1097
Go to your administration panel, and in the GoogleMap icon you'll see (probably in 3rd party category)...
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 27, 2008
- Posts: 35
Thank you for the reply Chestnut. No, GoogleMap is not in the 3rd party area of my administration, nor in any other area (checked them all twice). I went back to Modules Administration and it is indeed Active but I noticed that the version is 0. Is that correct or did I download a bad version? I downloaded it directly from mods.postnuke. -
**unknown user**
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 1097
biddly
I downloaded it directly from mods.postnuke.
You mean here ? or the old mods.postnuke.com ? If from the old mods.postnuke.com, unless it is the weblinks hack, I don't know what you downloaded as I didn't announced the module on mods.pn.com
As for the module here http://community.postnuke.com/module-Database-viewpub-tid-3-pid-23.htm
This is working fine, you initialize, activate and it should show in your administration panel. The rest is quite self explaining.
Note that all links to the file should take you on my NOC project here : http://noc.postnuke.com/projects/pnconcept
If you did not get it from there, you don't have the right file.
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 27, 2008
- Posts: 35
Sorry, I downloaded if from http://noc.postnuke.com/frs/?group_id=260&release_id=712. Maybe something went wrong with the download. I will try it again tonight and post back with the results. Thank you.
Sue
edited by: biddly, May 05, 2006 - 11:22 AM -
**unknown user**
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 1097
Probably a little problem while uploading.
In any case, the link to administration should be index.php?module=GoogleMap&type=admin
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 27, 2008
- Posts: 35
I downloaded your newest release (1.1) of the module from noc.postnuke.com... and after uploaded, reinitializing, etc., I was able to get into the Admin. I entered my key, coordinates, and height/width and zoom level then updated. I wasn't sure how to link to the map, so I just added a link to [GoogleMap] in one of my blocks. When I clicked on the link - URL=http://www.golfwestshore.com/index.php?name=GoogleMap - I got a windows error box "Internet Explorer cannot open the Internet site http://www.golfwestshore.com/index.php?name=GoogleMap, Operation Aborted".
Did I link it incorrectly or this another problem?
I tried to look at the demo at http://community.postnuke.com/module-Database-viewpub-tid-3-pid-23.htm but couldn't get to it - or any other link at that page.
I can get these coordinates to work using HTML-opening in a separate window, but I would really like to view the map within my theme.
Sorry to be such a pain. Everything seems so self explanatory, I can't understand why I can't get this to work for me.
Thanks for your help.
Sue -
**unknown user**
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 1097
In your Menu, the link should be {GoogleMap}
The IE error is caused by the page not being fully loaded when the Map is appended to the page. There is a line in the GoogMap_user_main.tpl file made to delay the javascript function, add a bigger value to it :
Code
setTimeout("ShowGoogleMap()", 1000);
Don't worry though, IE has a real issue and you are not the only one. Some managed to fix this error by putting all the javascript below the body closing tag but I found it a very dirty solution.
-
**unknown user**
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 1097
I found another possible solution that you may try. Forget the setTimeout (or revert it to what it was).
And change the javascript call from (The one below the noscript tag)
Code
<script type="text/javascript">
to
Code
<script defer="defer" type="text/javascript">
The defer attribute explanation :
http://www.websiteop…/speed/tweak/defer/
Tell me if it helps.
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 27, 2008
- Posts: 35
I was playing around with it this morning and originally I had set the map type to Mixt. I changed that to Satellite then finally to Plan. I got a map to come up with Plan, but it defaults to a zoom level of 15 while I have mine set to 3. I played around setting different zoom levels and still couldn't get it to work using 3.
Anyway, I'm getting closer. I'll keep working on it over the weekend.
Thanks for the help.
Sue -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 822
Hi Chestnut:
The defer setup make it work better but still it dont work with IE. I am too having some problems with the Puerto Rico coordinates. That could be aproblem within Google Map that I have to find out.
Later
:) -
**unknown user**
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 1097
Sue,
For some parts of the world, there is no images available for the zoom level you might ask. You can zoom to 2 or even 1 on Paris, New York or LA but not necessarily on smaller towns. The default behavior (wich is not necessarily under the current module version control) is that when you change form satellite to plan, the zoom zometimes get up a little.
Edfel,
Your numbers are wrong... the 66 should be -66
You also have a fair amount of javascript already on your page and many errors popping in my javascript debug console. I have no clue if it is related though...
-
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 822
Thanks Chestnut:
Coordinates are now fine!!!. In the future, I will need to re-evaluate the JS code (menus) I have there... So Mozilla is working fine!
Have to identify the IE problem with my theme. Verified, it works with ExtraLite. So problem is my theme or AT...
Regards and Thanks!
Edfel
edited by: edfel, May 07, 2006 - 12:31 AM -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 27, 2008
- Posts: 35
Chestnut - Sorry for the delay in responding. I tried your suggestion:
script defer="defer" type="text/javascript"
It didn't really help much, but I don't think it has anything to do with your module. I think I have serious problems with the HTML in my theme (from what I've been reading) and need to find a good HTML analyzer. I use an older version of Dreamweaver (4.0) and it doesn't clean as well as it should.
Once I clean up my code, I'm sure the module will work great. Thanks for all your help.
Sue
PS. Know any good HTML code cleaners? (or whatever the correct terminology is)
edited by: biddly, May 13, 2006 - 03:36 AM
- Moderated by:
- Support
