Hi, I have searche everywhere for a solution on this.
I have GoogleMaps installed and working, but as soon as I add a marker the page looses its look and doen not assocaite to any of the themes installed just plain HTML with no CSS.
I have tried to assing a theme directly to the page and no luck. as soon as I delete the Marker the page is back to normal with the correct theme.
Please help. I have the latest GoogleMaps (Downloaded it today - 14 Jan 2010)
Thanks
G
GoogleMaps - Insert a marker and the Theme of the page is ignored
Re: GoogleMaps - Insert a marker and the Theme of the page is ignored
Anything in error logs?
Re: GoogleMaps - Insert a marker and the Theme of the page is ignored
on some hosts it seems that getimagesize does not allow absolute urls. To change the module to use relative url modify file action.default.php
and add the red are (line numbers 174 - 176)
168 // Add the correct icon
169 $config = $gCms->GetConfig();
170 $markerdir = $this->config['root_url'].DIRECTORY_SEPARATOR.'modules'.
171 DIRECTORY_SEPARATOR.$this->getName().
172 DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR;
173
174 // use relative path
175 $markerdir = DIRECTORY_SEPARATOR.'modules'.DIRECTORY_SEPARATOR.$this->getName().DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR;
176
177 if ( $map_marker['icon'] != '') {
hope this helps.
and add the red are (line numbers 174 - 176)
168 // Add the correct icon
169 $config = $gCms->GetConfig();
170 $markerdir = $this->config['root_url'].DIRECTORY_SEPARATOR.'modules'.
171 DIRECTORY_SEPARATOR.$this->getName().
172 DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR;
173
174 // use relative path
175 $markerdir = DIRECTORY_SEPARATOR.'modules'.DIRECTORY_SEPARATOR.$this->getName().DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR;
176
177 if ( $map_marker['icon'] != '') {
hope this helps.
Re: GoogleMaps - Insert a marker and the Theme of the page is ignored
Hi,
Thanks, this did help keeping the theme and did not through any errors. now the icon does not show though. even though in fact it is there. (I can select the space where the marker should be)
just the Icon does not display
Thanks
G
Thanks, this did help keeping the theme and did not through any errors. now the icon does not show though. even though in fact it is there. (I can select the space where the marker should be)
just the Icon does not display
Thanks
G