Displaying a Phoca Map in a module?

Phoca Maps - displaying maps in Joomla! CMS
TheEdge
Phoca Member
Phoca Member
Posts: 28
Joined: 07 Jan 2008, 22:28

Displaying a Phoca Map in a module?

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Displaying a Phoca Map in a module?

Post 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
If you find Phoca extensions useful, please support the project
brentp76
Phoca Member
Phoca Member
Posts: 16
Joined: 16 Sep 2015, 02:38

Re: Displaying a Phoca Map in a module?

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9451
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Displaying a Phoca Map in a module?

Post 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
brentp76
Phoca Member
Phoca Member
Posts: 16
Joined: 16 Sep 2015, 02:38

Re: Displaying a Phoca Map in a module?

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9451
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Displaying a Phoca Map in a module?

Post 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
brentp76
Phoca Member
Phoca Member
Posts: 16
Joined: 16 Sep 2015, 02:38

Re: Displaying a Phoca Map in a module?

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9451
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Displaying a Phoca Map in a module?

Post by Benno »

Hi,
sorry, the login doesn't work..

kind regards,
Benno
brentp76
Phoca Member
Phoca Member
Posts: 16
Joined: 16 Sep 2015, 02:38

Re: Displaying a Phoca Map in a module?

Post by brentp76 »

Put it online. Try again
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Displaying a Phoca Map in a module?

Post by Jan »

Hi, for now I see there javascript error:
...plugins/content/likeme/likeme.js

so I think, this must be solved first :idea:
If you find Phoca extensions useful, please support the project
Post Reply