GoogleMaps Module [NEW VERSION 3.0, 2009-02-22]
Re: GoogleMaps Module [New Version]
Thank you for this really great module,
one question:
if i include a map with your module, the german translation of the google-Items and Hints/Tooltips ("vergrößern", "Gelände", "Straße", etc) seems to be corrupted (ö,ä,ü,ß aren't displyed correctly).
(e.g. http://www.janina-arpa.de/Anfahrt.phtml)
The german google-Map-Site (e.g. http://maps.google.de/maps?hl=de&tab=wl) doesn't seem to have this problem?
Are there some setting (charset, header, etc.) i can influence to change this behavioiur?
Best regards,
Bjoern
one question:
if i include a map with your module, the german translation of the google-Items and Hints/Tooltips ("vergrößern", "Gelände", "Straße", etc) seems to be corrupted (ö,ä,ü,ß aren't displyed correctly).
(e.g. http://www.janina-arpa.de/Anfahrt.phtml)
The german google-Map-Site (e.g. http://maps.google.de/maps?hl=de&tab=wl) doesn't seem to have this problem?
Are there some setting (charset, header, etc.) i can influence to change this behavioiur?
Best regards,
Bjoern
Never argue with an idiot. They bring you down to their level and beat you with experience.
Re: GoogleMaps Module [New Version]
Mhh, looking to your site for me it´s all ok.
Knut
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Re: GoogleMaps Module [New Version]
Ok - it seems to be an "InternetExplorer" <-> charset problem...
Firefox doesn't have this problem - i think.
GoogleMaps uses utf-8 encoding in its object and sets the charset only for this object to utf-8 -
This is correct and firefox interprets this correctly and displays the german chars ...
The phpwcms-Site itself sets a defaut charset
$phpwcms['charset'] = 'iso-8859-1'; //default charset 'iso-8859-1'
and the Internet-Explorer seems not to interpret object-dependend charsets but encodes all objects with the first set default site-charset. So the map in IE7 will be interpreted also in iso and so the german chars are misinterpreted...
Does anybody know, how to changes charset in IE only for a part of the html-code?
If you change the default-charset in the config to utf-8, the map will be shown okay - but the rest of the site (encoded in the database with latin-1/iso) will be corrupt
BTW:
Is there any possibility to zoom the map automatically depending on the choosen categories?
(if you have 3 marker-categories and deselect one, than the zooming/scrolling will reposition the map to fit the staying two categories?)
Best regards,
Bjoern
Firefox doesn't have this problem - i think.
GoogleMaps uses utf-8 encoding in its object and sets the charset only for this object to utf-8 -
This is correct and firefox interprets this correctly and displays the german chars ...
The phpwcms-Site itself sets a defaut charset
$phpwcms['charset'] = 'iso-8859-1'; //default charset 'iso-8859-1'
and the Internet-Explorer seems not to interpret object-dependend charsets but encodes all objects with the first set default site-charset. So the map in IE7 will be interpreted also in iso and so the german chars are misinterpreted...
Does anybody know, how to changes charset in IE only for a part of the html-code?
If you change the default-charset in the config to utf-8, the map will be shown okay - but the rest of the site (encoded in the database with latin-1/iso) will be corrupt
BTW:
Is there any possibility to zoom the map automatically depending on the choosen categories?
(if you have 3 marker-categories and deselect one, than the zooming/scrolling will reposition the map to fit the staying two categories?)
Best regards,
Bjoern
Never argue with an idiot. They bring you down to their level and beat you with experience.
Re: GoogleMaps Module [New Version]
Ah yes I see. IE doesn´t do it in the right way.
I don´t know a solution. In this case one for me would be a site converting to utf-8.
Knut
I don´t know a solution. In this case one for me would be a site converting to utf-8.
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Re: GoogleMaps Module [New Version]
I have problem with new Google Maps module.
Installation was successful, I have created map points, but when I’m trying to add a new map to my website I can’t find and select 'plug-in; Google Maps' from the content types list. There is no 'plug-in; Google Maps' in the CP list.

Installation was successful, I have created map points, but when I’m trying to add a new map to my website I can’t find and select 'plug-in; Google Maps' from the content types list. There is no 'plug-in; Google Maps' in the CP list.

٩(͡๏̯͡๏)۶
Re: GoogleMaps Module [New Version]
did you restrict cp's in admin section?
either no additions there or 'plug-in'
either no additions there or 'plug-in'
Re: GoogleMaps Module [New Version]
Breitsch,
I have phpwcms 1.3.3. running on my site. After installation all settings are left by default. I haven’t restricted cp's manually. Where can I check the status of restriction?
Other CP’s like Plain Text, HTML, WYSIWYG HTML, Images and so on work fine. I have CP “News Flash” installed and it is in CP's list and works fine too. But I noticed that there in no CP FAQ and glossary in CP list .
I have phpwcms 1.3.3. running on my site. After installation all settings are left by default. I haven’t restricted cp's manually. Where can I check the status of restriction?
Other CP’s like Plain Text, HTML, WYSIWYG HTML, Images and so on work fine. I have CP “News Flash” installed and it is in CP's list and works fine too. But I noticed that there in no CP FAQ and glossary in CP list .
٩(͡๏̯͡๏)۶
Re: GoogleMaps Module [New Version]
@zuker
Can you PM me backend login so I can have a look there?
Would be easier than find it out with question/answer
Can you PM me backend login so I can have a look there?
Would be easier than find it out with question/answer
Re: GoogleMaps Module [New Version]
Now I've entered some hundred map points and let the kml file be written I wonder how to get the link to the kml file into my sitemap. In conjunction with this wondering I ask myself how this phpwcms sitemap feature is working anyhow:
When I call domain/sitemap.php I get a real bunch of
Or do I have to submit the kml to google manually?
And citing google:
Can somebody shed some light into the darkness as described above please
Thank you
claus
When I call domain/sitemap.php I get a real bunch of
Does this work as intended? Is looking strange to me remembering a discussion about double content and such things...http://domain.de/index.php?aid=6 2008-01-23 http://domain.de/index.php?aid=8 2008-01-20 http://domain.de/index.php?aid=82 2008-01-20 http://domain.de/index.php?aid=84 2008-01-20 http://domain.de/index.php?aid=40 2008-01-12 http://domain.de/index.php?aid=89 2008-01-10 http://domain.de/index.php?aid=1 2008-01-09 http://domain.de/index.php?aid=7 2008-01-09 http://domain.de/index.php?aid=9 2008-01-09 http://domain.de/index.php?aid=56 2008-01-09 ...............
Or do I have to submit the kml to google manually?
And citing google:
Does this mean that I place a backlink to my site into the description field thus getting some hundred external backlinks? If so, this seems to be really cool...For a simple sitemap, your KML should contain a <Placemark> KML tag for each GMarker object within your Google Maps API code. For example, text that was in your GMarker objects' GInfoWindows can be placed in the <name> and/or <description> tags inside <Placemark> tags in KML. Note: KML's <description> tag supports HTML; you are encouraged to place links back to your original Maps API site here.
Can somebody shed some light into the darkness as described above please
Thank you
claus
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: GoogleMaps Module [New Version]
please have a look here: http://code.google.com/apis/maps/sitemap.html
this explains the whole thing.
Step 1 is done by system. It writes the kml file to folder: include/inc_module/mod_googlemaps/kml
file named like: googlemap[ID of contentpart].kml
Example (for 1 marker only, but there can be more ):
Step 2 you must do yourself:
open the sitemap.php in your root
scroll to the end of the file
find:
add before and change the url to fit your site:
of course your site must be known to google: http://www.google.com/addurl/
This should do the job. Wait a few days and then enjoy your own markers in google earth.
this explains the whole thing.
Step 1 is done by system. It writes the kml file to folder: include/inc_module/mod_googlemaps/kml
file named like: googlemap[ID of contentpart].kml
Example (for 1 marker only, but there can be more ):
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
<Placemark>
<name>Title</name>
<description><![CDATA[<p>html text from info window <img width="66" height="70" src="http://www.example.com/picture/image.jpg" alt="" /></p>]]></description>
<Point>
<coordinates>-122.1379280090332,37.43970145670931,0</coordinates>
</Point>
</Placemark>
</Document>
</kml>Step 2 you must do yourself:
open the sitemap.php in your root
scroll to the end of the file
find:
Code: Select all
echo '</urlset>';Code: Select all
echo ' <url>
<loc>http://www.example.com/include/inc_module/mod_googlemaps/kml/googlemap51.kml</loc>
</url>'.LF;This should do the job. Wait a few days and then enjoy your own markers in google earth.
Re: GoogleMaps Module [New Version]
Thank you!This should do the job
This -if I'm getting it right- means that google is detecting sitemap.php by its own? Is it looking for it, really?
And
really means to produce my own backlinks from google earth back to my site?you are encouraged to place links back to your original Maps API site here
Unbelievable!
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: GoogleMaps Module [New Version]
Yes Claus, welcome to the Google World!
Let me tell you why you're here. You're here because you know something. What you know, you can't explain. But you feel it. You felt it your entire life. That there's something wrong with the world. You don't know what it is, but it's there. Like a splinter in your mind -- driving you mad. It is this feeling that has brought you here.
But remember:
Google is everywhere, it is all around us. Even now, in this very room. You can see it when you look out your window, or when you turn on your television. You can feel it when you go to work, or when you go to church or when you pay your taxes. It is the world that has been pulled over your eyes to blind you from the truth: Google owns you!
But there is still an escape:
You delete the module and the story ends. You wake in your bed and believe whatever you want to believe. But when you decide to go on you stay in Wonderland and I show you how deep the rabbit-hole goes. Remember -- all I am offering is a path to the source, nothing more. Google awaits you!
Let me tell you why you're here. You're here because you know something. What you know, you can't explain. But you feel it. You felt it your entire life. That there's something wrong with the world. You don't know what it is, but it's there. Like a splinter in your mind -- driving you mad. It is this feeling that has brought you here.
But remember:
Google is everywhere, it is all around us. Even now, in this very room. You can see it when you look out your window, or when you turn on your television. You can feel it when you go to work, or when you go to church or when you pay your taxes. It is the world that has been pulled over your eyes to blind you from the truth: Google owns you!
But there is still an escape:
You delete the module and the story ends. You wake in your bed and believe whatever you want to believe. But when you decide to go on you stay in Wonderland and I show you how deep the rabbit-hole goes. Remember -- all I am offering is a path to the source, nothing more. Google awaits you!
Re: GoogleMaps Module [New Version]
breitsch wrote:Yes Claus, welcome to the Google World!
Let me tell you why you're here. You're here because you know something. What you know, you can't explain. But you feel it. You felt it your entire life. That there's something wrong with the world. You don't know what it is, but it's there. Like a splinter in your mind -- driving you mad. It is this feeling that has brought you here.
But remember:
Google is everywhere, it is all around us. Even now, in this very room. You can see it when you look out your window, or when you turn on your television. You can feel it when you go to work, or when you go to church or when you pay your taxes. It is the world that has been pulled over your eyes to blind you from the truth: Google owns you!
But there is still an escape:
You delete the module and the story ends. You wake in your bed and believe whatever you want to believe. But when you decide to go on you stay in Wonderland and I show you how deep the rabbit-hole goes. Remember -- all I am offering is a path to the source, nothing more. Google awaits you!
PS: Yes, old wise words spoken out loudly again - we (me) firmly have to remember the escape while diving into this rabbit hole ... every now and then replacing google with whatever else is blinding us to stay tuned in while freaking out
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: GoogleMaps Module [New Version]
... and the magic spell goes like this:
‘You’re nothing but a pack of cards!’

‘You’re nothing but a pack of cards!’
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: GoogleMaps Module [New Version]
maybe is it my own prob, or do have anybody probs in IE6 ?
there are no map at the first look.
if i click on "karte" then i can see it, but with no map points ?
sorry - iam testing alot...
there are no map at the first look.
if i click on "karte" then i can see it, but with no map points ?
sorry - iam testing alot...