Page 1 of 2

Displaying a Phoca Map in a module?

Posted: 09 Sep 2014, 13:45
by TheEdge
Hi,

- J! 3.3.0
- Phoca Component 3.0.1
- Phoca Plugin 3.0.2

I have a module that is a "Custom HTML" module. In it I have placed the plugin code:

[code]
{phocamaps view=map|id=1}
[/code]

However the map does not display and all I get is the plugin markup page as you can see here new.flintinthevines.net.au/. I have made sure the plugin is published. Does the plugin code not work if it is placed in a module? Or have I missed something else? All help and pointers greatly appreciated.

Re: Displaying a Phoca Map in a module?

Posted: 09 Sep 2014, 21:58
by Jan
Hi, did you enable the displaying of content plugins in the module?

See:
https://www.phoca.cz/documents/16-joomla ... t-articles

Jan

Re: Displaying a Phoca Map in a module?

Posted: 24 Aug 2018, 22:38
by brentp76
I am having the same problem, I see the link referred to but am not clear exactly how to implement it. could someone help me out.

Re: Displaying a Phoca Map in a module?

Posted: 25 Aug 2018, 11:31
by Benno
Hi,
if you want to display a Phoca Map within a Joomla! Custom Module, you need to set:
backend --> Extensions --> Modules --> Your Custom Module --> Options --> Prepare Content=Yes
Save & Close

Kind regards,
Benno

Re: Displaying a Phoca Map in a module?

Posted: 25 Aug 2018, 20:37
by brentp76
I have have missed the point then. The problem that I am having is that it does show a map, however it doesnt refrence the marker that I set up in the component.

Re: Displaying a Phoca Map in a module?

Posted: 25 Aug 2018, 23:19
by Benno
OK, then we need some more informations:
Which Phoca Maps Component version do you use?
Which Phoca Maps Content Plugin version do you use?
Which Joomla! version do you use?
Which PHP version do you use?
And very helpful would be the URL to see the problem.

Kind regards,
Benno

Re: Displaying a Phoca Map in a module?

Posted: 25 Aug 2018, 23:32
by brentp76
Which Phoca Maps Component version do you use? 3.05
Which Phoca Maps Content Plugin version do you use? 3.05
Which Joomla! version do you use? 3.811
Which PHP version do you use? 7.26

Site is temp.circlecityflyers.com it is under construction so login for you is
un:phocatest
pw:phocatest

Re: Displaying a Phoca Map in a module?

Posted: 25 Aug 2018, 23:39
by Benno
Hi,
sorry, the login doesn't work..

kind regards,
Benno

Re: Displaying a Phoca Map in a module?

Posted: 26 Aug 2018, 01:07
by brentp76
Put it online. Try again

Re: Displaying a Phoca Map in a module?

Posted: 26 Aug 2018, 23:28
by Jan
Hi, for now I see there javascript error:
...plugins/content/likeme/likeme.js

so I think, this must be solved first :idea: