Map don´t show in custom module

Phoca Maps - displaying maps in Joomla! CMS
bb9
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 21 Jan 2018, 16:02

Map don´t show in custom module

Post by bb9 »

Hi,
I have a problem with displaying the map. If I put the code to the article, the map show correctly.
But I need to show it in custom module and there is showing just the code - {phocamaps view=map|id=1}

You can see it here:
http://www.etiflex.cz/kontakty

Could you please help me what am I doing wrong that in the custom module doesn´t show?

Thx.

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9442
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Map don´t show in custom module

Post by Benno »

HI,
backend --> Extensions --> Modules --> Custom --> Edit --> Modules: Custom --> Options --> Prepare Content=Yes
Save & Close

Kind regards,
Benno
bb9
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 21 Jan 2018, 16:02

Re: Map don´t show in custom module

Post by bb9 »

Perfect. Thank you very much for the quick help. Works like a charm.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9442
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Map don´t show in custom module

Post by Benno »

You're welcome!

Kind regards,
Benno
zesharck
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 24 Mar 2018, 13:12

Re: Map don´t show in custom module

Post by zesharck »

Well if someone can help me.

I dont see my map in the custom module ?!

Prepare Content is correctly on Yes

I have put this on it : {phocamaps view=map|id=1}
anf the id is correctly 1

but the module is only showing the code {phocamaps view=map|id=1}

is there something more to install (?) I have only downloaded and installed the com_phocamaps_v3.0.4.zip

thx for help friends ;)
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9442
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Map don´t show in custom module

Post by Benno »

Hi,
yes, you also need to install and enable the Phoca Maps Content Plugin v3.0.4

Kind regards,
Benno
Tobi1
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 27 Jun 2018, 13:31

Re: Map don´t show in custom module

Post by Tobi1 »

Hello,

first I hade the same problem: only {phocamaps view=map|id=1} was shown.
Its nessecary to install plg_content_phocamaps_v3.0.5.zip and plg_phocamaps_v2.0.5.zip together.

But I have another problem:
only an empty place is shown <div id="phocaMapPlgPM1" style="width:500px;height:200px"></div>
no map inside.
And below this From Address: _____ get Route.

Thanks for ideas
Tobias
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9442
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Map don´t show in custom module

Post by Benno »

Hi,
Its nessecary to install plg_content_phocamaps_v3.0.5.zip and plg_phocamaps_v2.0.5.zip together.
No, only version v3.0.5 is the right one for the current component version.

Kind regards,
Benno
Tobi1
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 27 Jun 2018, 13:31

Re: Map don´t show in custom module

Post by Tobi1 »

Hello Benno,

oh yes, youre right ... plg_phocamaps_v3.0.5.zip
But only an empty place is shown <div id="phocaMapPlgPM1" style="width:500px;height:200px"></div>
no map inside.
And below this "From Address: _____ get Route."
The plugin works, Display Get Route Form shows it, but no map is shown.

Thank you
Tobias
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9442
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Map don´t show in custom module

Post by Benno »

Hi,
Do you receive JS errors in the console?
See: https://www.phoca.cz/documents/16-jooml ... -conflicts

Kind regards,
Benno
Post Reply