I use a Regular Labs Extension "Modules Anywhere" to add a module in any article.
This does Not work in a marker or map html area.
Is the Content being "Prepared" by the Content Pre-Processor ?
I would please request that you add this functionality .
Respectfully
ASalaices
Cannot Embed module in marker html page
-
- Phoca Newbie
- Posts: 2
- Joined: 13 Apr 2012, 17:02
- Jan
- Phoca Hero
- Posts: 48416
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Cannot Embed module in marker html page
Hi,
it is not done intentionally. The content is displayed inside Javascript function and in fact every single "triffle" can break the Javascript code for all the website, so e.g. it is even protected to different problematic parts:
You can change it with your own override of this file:
components/com_phocamaps/views/map/tmpl\default.php (line cca 150)
but most module/plugin output just breaks the Javascript as they are not ready to display inside the Javascript.
Jan
it is not done intentionally. The content is displayed inside Javascript function and in fact every single "triffle" can break the Javascript code for all the website, so e.g. it is even protected to different problematic parts:
Code: Select all
$markerV->description = PhocaMapsHelper::fixImagePath($markerV->description);
$markerV->description = str_replace('@', '@', $markerV->description);
$text .= '<div>'. PhocaMapsHelper::strTrimAll(addslashes($markerV->description)).'</div>';
components/com_phocamaps/views/map/tmpl\default.php (line cca 150)
but most module/plugin output just breaks the Javascript as they are not ready to display inside the Javascript.
Jan
If you find Phoca extensions useful, please support the project