Brackets in Markers

Phoca Maps - displaying maps in Joomla! CMS
Lisma
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 10 Nov 2023, 11:24

Brackets in Markers

Post by Lisma »

Hi,
I use Regular Labs Snippets and it works great in map description. But it doesn't in marker description. Front end shows the curly brackets like text.

I use Joomla 4 and Phoca Maps 4 (both latest version).
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Brackets in Markers

Post by Jan »

Hi, unfortunately, I don't have any experiences with this plugin. The marker text is rendered inside Javascript, so maybe the protection prevents from running some code there :idea:

Jan
If you find Phoca extensions useful, please support the project
Lisma
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 10 Nov 2023, 11:24

Re: Brackets in Markers

Post by Lisma »

Hi Jan,

thanks for replying.
It's not just the RegularLabs plugin. I tested other content plugins (including inserting another very small phoca map) and it's not working with all of them. I also tried different editors.
It's just strange that it works fine in map description but not in marker description.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Brackets in Markers

Post by Jan »

Hi, there is a difference:

- map description is displayed on website, rendered by Joomla
- marker description is displayed inside the map, which is rendered by external service and such service accpets Javascript code which is cleaned from possible problematic code.

Jan
If you find Phoca extensions useful, please support the project
Lisma
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 10 Nov 2023, 11:24

Re: Brackets in Markers

Post by Lisma »

Hi Jan,

thanks for the explanation.
If it's not possible then I'll use severals maps and markers.

Thanks again for your help.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Brackets in Markers

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply