plugin in description

vientito
Phoca Member
Phoca Member
Posts: 10
Joined: 18 Oct 2018, 14:51

plugin in description

Post by vientito » 19 Oct 2018, 17:57

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?


User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 40439
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: plugin in description

Post by Jan » 23 Oct 2018, 22:40

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 :idea:

Jan
If you find Phoca extensions useful, please support the project

vientito
Phoca Member
Phoca Member
Posts: 10
Joined: 18 Oct 2018, 14:51

Re: plugin in description

Post by vientito » 31 Oct 2018, 03:10

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?

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 40439
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: plugin in description

Post by Jan » 06 Nov 2018, 14:54

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
If you find Phoca extensions useful, please support the project

Post Reply