PDA

View Full Version : Google Map Addon - Getting fancy!


ampix
05-14-2007, 12:38 AM
Hi!

I installed the google map addon on my pixelpost 1.6 and it works great.
But instead of the "View Google map" link (words being the link), I would like to use a button. I tried to look around in the files but I really don't know how to modify a TAG.

Could someone give me a hand on that one?

Thanks!

jaywilliams
05-14-2007, 01:38 AM
If you open up the addon php file, and do a search for the text "Google Map", you will find the line. You can replace that text with whatever you wish.

Dennis
05-14-2007, 08:24 AM
Jay, you're wrong :P

Please read the documentation provided with the googlemap addon. That text is set in the language file and you can edit it to be a button.

ampix
05-14-2007, 12:38 PM
Hi Schonhose!

You mean edit it in the language file???

If this is it... i'll give it a try and let you know!

Dennis
05-14-2007, 03:49 PM
yeah, well... read the documentation, it is quite clear I think (although I written that part myself :p)

ampix
05-19-2007, 02:23 PM
Hi Schonhose!

Here is what I did to replace the text "View Google Map" with a button in the language file. I tried many combination but I get a white page so I guess I 'm doing something wrong.

Here is my code:

// GOOGLEMAP
$lang_view_on_map = <img src=' http://www.pixel-photo.net/pod/templates/visible/google_map_button.gif' alt='Google Map' title='Google Map'/>;


Can you give me a hand on that?

ampix
05-19-2007, 02:27 PM
Hi Schonhose!

I kept on working on it and it works!

here is my code line:

// GOOGLEMAP
$lang_view_on_map = "<img src=' http://www.pixel-photo.net/pod/templates/visible/google_map_button.gif' alt='Google Map' title='Google Map'/>";

Dennis
05-19-2007, 02:34 PM
Great job! (i only noticed the thread again a couple of minutes ago.)

k23000
05-27-2007, 02:11 PM
I installed the Google Map addon on my not-yet finished blog and I acquired the API keys from Google.

If I change blog domain /I will have to acquire new APIs/, will the images geodata be lost?

thx,
k.

Dennis
05-27-2007, 03:05 PM
Nope, the geodata is independent of the API keys and is stored in your Pixelpost database.