I have a problem with getting links in pins to work. If I enter a pin like this:

+ 51.3912,-2.560579:<a href="/url">Link</a> +

All I get in the pop up is <a href - it seems to stop at the equals sign and shows nothing after it.

Is this a gmap problem or a filter problem? Any help or suggestions would be much appreciated.

regards,

Mark

Comments

daschatten’s picture

Same problem here... some html tags work (e.g. b) but link doesn't.

nvoyageur’s picture

I had the same problem in 4.7. Rearraigning the order of the filters fixed the problem for me.

daschatten’s picture

Rearranging filters didn't work. In the source it looks like &lt;a href instead of <a href. In one try it also looked like \x3a href or something like that...

daschatten’s picture

I forgot one thing to mention: i use TinyMCE, but i insert gmap code in the source view...

Anonymous’s picture

I've tried playing with the filters and had no luck.

In the database the links tags are there but something seems to strip them out in the page.

regards,

Mark

Anonymous’s picture

Has anyone got links to show in pop-up for version 5? I would be interested to know if anyone has got this working so I don't waste time with my changing all my settings.

regards,

Mark

enli’s picture

I'm having the same problem too...

enli’s picture

Priority: Normal » Critical

I confirm that the problem shows up when inserting the = after <a href; there seems to be a serious problem in converting this tag.
Did anybody find a solution??? I think this is a critical bug that should be solved soon!!!

enli’s picture

Category: support » bug

ok... I guess that it's better to change the label to "bug report".

enli’s picture

No updates? Nobody solved the problem?

bdragon’s picture

Assigned: Unassigned » bdragon

This is going to take a small change in the macro parsing code, I'm thinking.

Anonymous’s picture

Further information:
In the latest version (6th of May), with a link in the pop up the map now will display points correctly. The pop up now shows the raw HTML so the link is not live.

Hope this is useful.

Mark

enli’s picture

Actually, the points were correctly shown even in the pre 0.6 version. The problem was that the <a> tag was not working, not displaying anything else after it.

enli’s picture

is there any update?

daschatten’s picture

good news, it's working now :-)

Anonymous’s picture

I still can't get this working for my map. I am using the latest Gmap version.

Does there need to be a change to the filter order to get this working?

Mark

Anonymous’s picture

If anyone has this working could they please post their filter settings.

I can't get this working at all for my site. Links are not being shown correctly. I've uninstalled and reinstalled location and gmap but nothing changed.

Mark

steinmb’s picture

Tracking

Anonymous’s picture

Has anyone got this working?

Mark

steinmb’s picture

Tested on the latest version of Gmap:
Safari 3.0.3 OK
Firefox 2.0.0.6 OK
Opera 9.23 OK

Mac OS X 10.4.10

--
Stein M. Bjorklund

Anonymous’s picture

This is getting odd!

I have tried this on two sites, it works on one, not on the other. Both are hosted on the same server, same version of Drupal, gmap and location.

Filter settings are identical.

Gmap settings are identical except on the one that does not work map method is static, while on the site that does work it is set to dynamic. I can't change these settings as they are greyed out.

Gmap location and location settings are identical as well.

I have tried removing and reinstalling Gmap. It does not work.

Has anyone any suggestions about this? It is very frustrating.

Mark

steinmb’s picture

One thing that fixed a strange problems with gmap:
Go to input filters. Change settings on gmap, both pages and save. Then set them back to org. settings. It fixed a strange problem on my site. Reinstalling did not fix the problem. I don't think the "uninstall" of the module clear entry in input filters and variable data.

--
Stein M. Bjorklund

Anonymous’s picture

This works!

Thank you.

Mark

bdragon’s picture

Hmm, that rings a faint bell....

You know, I think it's a filter cache issue.

The problem is that the cachability property of a filter is cached, and when marking a filter as "not safe to cache" (i.e. how gmap's dynamic mode works), this doesn't get cleared out properly.

Right now, gmap is hardcoded to always be in dynamic mode, but I didn't think of sites that had been in static mode and therefore have the filter marked as being cacheable...

steinmb’s picture

Status: Active » Closed (fixed)

Closing this issue.