Page 1 of 1
plugin in description
Posted: 19 Oct 2018, 17:57
by vientito
i experiment with a youtube video plugin placed in the description area of marker. with preview in the editor i am able to see the youtube embedded video but when i click on marker it only displays the actual code i write in the description instead of giving me the video.
Any hints on how i can actually display the video instead?
Re: plugin in description
Posted: 23 Oct 2018, 22:40
by Jan
Hi, you can display content plugins inside the different descriptions parts:
https://www.phoca.cz/documents/16-jooml ... t-articles
But the problem is, the description inside the map is located inside javascript, so there is a conflict between the plugin and the javascript. So this needs to be somehow customized. As default, there is no such option
Jan
Re: plugin in description
Posted: 31 Oct 2018, 03:10
by vientito
Could you tell me the location of the files where I can modify the codes for the marker description? I have not been able to pinpoint it yet.
given that there are so many plugins tools in the universe, it would be super cool that we can incorporate them in one big happy family in some way, don't you think?
Re: plugin in description
Posted: 06 Nov 2018, 14:54
by Jan
Hi, the description is set here:
components\com_phocamaps\views\map\tmpl\default.php
or
components\com_phocamaps\views\map\tmpl\default_osm.php
search for $markerV->description
Jan