Page 1 of 2

Map don´t show in custom module

Posted: 21 Jan 2018, 16:07
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.

Re: Map don´t show in custom module

Posted: 21 Jan 2018, 16:36
by Benno
HI,
backend --> Extensions --> Modules --> Custom --> Edit --> Modules: Custom --> Options --> Prepare Content=Yes
Save & Close

Kind regards,
Benno

Re: Map don´t show in custom module

Posted: 21 Jan 2018, 16:39
by bb9
Perfect. Thank you very much for the quick help. Works like a charm.

Re: Map don´t show in custom module

Posted: 21 Jan 2018, 17:32
by Benno
You're welcome!

Kind regards,
Benno

Re: Map don´t show in custom module

Posted: 24 Mar 2018, 13:20
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 ;)

Re: Map don´t show in custom module

Posted: 24 Mar 2018, 14:06
by Benno
Hi,
yes, you also need to install and enable the Phoca Maps Content Plugin v3.0.4

Kind regards,
Benno

Re: Map don´t show in custom module

Posted: 27 Jun 2018, 13:49
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

Re: Map don´t show in custom module

Posted: 27 Jun 2018, 15:49
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

Re: Map don´t show in custom module

Posted: 27 Jun 2018, 20:27
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

Re: Map don´t show in custom module

Posted: 27 Jun 2018, 21:33
by Benno
Hi,
Do you receive JS errors in the console?
See: https://www.phoca.cz/documents/16-jooml ... -conflicts

Kind regards,
Benno