{cggmaps2} 404 Marker Icon src wrong

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
pWorker
Forum Members
Forum Members
Posts: 48
Joined: Wed Aug 31, 2016 1:30 pm

{cggmaps2} 404 Marker Icon src wrong

Post 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
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: {cggmaps2} 404 Marker Icon src wrong

Post by Jos »

Do you have a {metadata} tag in the head section of your pagetemplate?
pWorker
Forum Members
Forum Members
Posts: 48
Joined: Wed Aug 31, 2016 1:30 pm

Re: {cggmaps2} 404 Marker Icon src wrong

Post by pWorker »

Hey Jos,

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

MfG
Locked

Return to “Modules/Add-Ons”