How to Embed Only the Phoca Maps Section from This Joomla Page into Another Website?

Phoca Maps - displaying maps in Joomla! CMS
1137845
Phoca Member
Phoca Member
Posts: 11
Joined: 26 Feb 2015, 11:17

How to Embed Only the Phoca Maps Section from This Joomla Page into Another Website?

Post by 1137845 »

Hi everyone,

I have a Joomla-based website with a Phoca Maps map on this page:
👉 https://longonicues.com/longoni-dealers

Now, I want to embed only the map (without the menu, footer, or any other elements) into another Joomla website I own.

What I Tried So Far
1️⃣ Using an <iframe>, but it loads the entire page, including the menu and footer:

<iframe src="https://longonicues.com/longoni-dealers" width="100%" height="500px" style="border:none;"></iframe>
2️⃣ Using PHP (file_get_contents()) to extract only the map section, but I don’t know the best way to isolate just the map.
3️⃣ Inspecting the page source, but I’m unsure of the best approach to extract only the Phoca Maps section.


Thanks in advance! 😊
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48648
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to Embed Only the Phoca Maps Section from This Joomla Page into Another Website?

Post by Jan »

Hi, just create an article in Joomla and paste the Phoca Maps as plugin into this article.
https://www.phoca.cz/phocamaps-plugin
Jan
If you find Phoca extensions useful, please support the project
Post Reply