Page 1 of 1

Brackets in Markers

Posted: 10 Nov 2023, 11:37
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).

Re: Brackets in Markers

Posted: 10 Nov 2023, 20:22
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

Re: Brackets in Markers

Posted: 11 Nov 2023, 15:05
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.

Re: Brackets in Markers

Posted: 11 Nov 2023, 20:35
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

Re: Brackets in Markers

Posted: 12 Nov 2023, 10:41
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.

Re: Brackets in Markers

Posted: 15 Nov 2023, 00:08
by Jan
Ok