Page 1 of 1

{cggmaps2} 404 Marker Icon src wrong

Posted: Mon Nov 07, 2016 1:10 pm
by pWorker
Hi all,

i`m using {cggmaps2} and nearly everything is fine, but the src path for the markers isn`t right.

Code: Select all

{cggm2_add_dynpoint map=1 name='Potsdam' address='Potsdam' icon='food'}{CGGoogleMaps2}
Firebug gives me the info for the path:

Code: Select all

http://www.xyz.de/[Aktuelle Seite]/modules/CGGoogleMaps2/icons/dd-end.png
Nearly right, but the path has to be without the /[Aktuelle Seite], then it would be correct.

Also in the backend there is a problem with the src paths of the images. I tried to find the src variables, and this is sth. dreamweaver throws an error out:

Code: Select all

var iconsbyname = new Array();
{foreach from=$iconsbyname key='name' item='url'}
iconsbyname['{$name}'] = '../{$url}';
{/foreach}
Everyone advises me to use the 1er version, but after installation of that, my backend crashes.

Anyone has an idea how to fix this issue?

MfG

Re: {cggmaps2} 404 Marker Icon src wrong

Posted: Tue Nov 08, 2016 9:58 pm
by Jos
Do you have a {metadata} tag in the head section of your pagetemplate?

Re: {cggmaps2} 404 Marker Icon src wrong

Posted: Sat Nov 26, 2016 10:08 pm
by pWorker
Hey Jos,

I can`t remember, sry. I did it now handcoded

MfG