Phoca Map Plugin OSM / Component Phoca Map Module

Phoca Maps - displaying maps in Joomla! CMS
alex-jj
Phoca Member
Phoca Member
Posts: 18
Joined: 27 May 2010, 09:04

Phoca Map Plugin OSM / Component Phoca Map Module

Post by alex-jj »

Hi everybody,
can with a Phoca Map Plugin Show a OSM Map?
Is it possible to output the component Phoca Map in a module?
I would like to have the OSM map displayed together with a form and contact component.
Thanks

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

Re: Phoca Map Plugin OSM / Component Phoca Map Module

Post by Benno »

Hi,
can with a Phoca Map Plugin Show a OSM Map?
Yes
Is it possible to output the component Phoca Map in a module?
Yes (e.g. Custom Module [Prepare Content must be set in Custom Module Options])
https://www.phoca.cz/documents/16-jooml ... t-articles

Kind regards,
Benno
alex-jj
Phoca Member
Phoca Member
Posts: 18
Joined: 27 May 2010, 09:04

Re: Phoca Map Plugin OSM / Component Phoca Map Module

Post by alex-jj »

Hallo Benno,
du schreibst "Du must in den Optionen der Phoca Maps Komponente auf OpenStreetMap umschalten, das wirkt sich dann auch aufs Plugin aus:
Backend --> Komponenten --> Phoca Maps --> Kontrollzentrum --> Optionen --> Global --> Kartentyp=OpenStreetMap Speichern & Schließen"

Zusätzlich muss man noch in den Phoca Maps Konfig die Google Maps Optionen deaktivieren, dann klaptt es.

Kann jemand helfen, wie man Phoca Maps in die Joomla Kontakt Komponente einbindet?
Erster Versuch klappt nicht:
MeinTmpl / html / com_contact / default.php
<?php if($client->mobile){ ?>
{phocamaps view=map|id=1 dragging='0'}
<?php } else { ?>
{phocamaps view=map|id=1}
<?php } ?>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Map Plugin OSM / Component Phoca Map Module

Post by Jan »

Hallo, hat Kontakt z.B. ein Description Field (wenn ja, und es akzeptiert Content Plugins, dann sollte dort auch Phoca Maps plugin normal laufen). Ich verwende kein Kontakt (so keine Erfahrung da), ich benutze Phoca Guestbook als Kontakt und da kann man es in Description (Beschreibung) ein Conten Plugin darzustellen:
https://www.phoca.cz/contact

Jan
If you find Phoca extensions useful, please support the project
alex-jj
Phoca Member
Phoca Member
Posts: 18
Joined: 27 May 2010, 09:04

Re: Phoca Map Plugin OSM / Component Phoca Map Module

Post by alex-jj »

Hallo Jan, danke für den Tipp, habe es jetzt über ein Modul und Category Articles gelöst.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Map Plugin OSM / Component Phoca Map Module

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply