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).
Brackets in Markers
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Brackets in Markers
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
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 10 Nov 2023, 11:24
Re: Brackets in Markers
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.
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.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Brackets in Markers
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
- 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
-
- Phoca Newbie
- Posts: 3
- Joined: 10 Nov 2023, 11:24
Re: Brackets in Markers
Hi Jan,
thanks for the explanation.
If it's not possible then I'll use severals maps and markers.
Thanks again for your help.
thanks for the explanation.
If it's not possible then I'll use severals maps and markers.
Thanks again for your help.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: