×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Add hotspot to joomla content with plugin

Add hotspot to joomla content with plugin 10 years 9 months ago #21607

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0
Hi there,

I want to add a hotspot to an article, I enabled the plugin and added the code: {hotspots hotspot=222}

Unfortunately it doesn't show the marker, but only an empty map with the possibility to give in the starting point of the rout and the destination. Do you know if I'm doing something wrong here?

Kind Regards,

Erwin

Add hotspot to joomla content with plugin 10 years 9 months ago #21608

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0
Already find the cause, when I disable an other plugin (Multithumb), it works correctly :)

Kind Regards,

Erwin

Add hotspot to joomla content with plugin 10 years 9 months ago #21613

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0
One question came up my mind, is it possible to set the default zoom level for the marker? I can't configure that in the plugin...

Regards,

Erwin

Add hotspot to joomla content with plugin 10 years 9 months ago #21614

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The plugin should be using the default zoom level set in the global configuration? Isn't it?

Add hotspot to joomla content with plugin 10 years 9 months ago #21615

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0

Daniel Dimitrov wrote: The plugin should be using the default zoom level set in the global configuration? Isn't it?

Hi Daniel,

Uhm yes and no,
I use the default zoom level for setting the default zoom for the map which shows all of the hotspots. Then I want to list a single hotspot in an article, so a little bit more zoom is would be nice. I don't know if that's possible?

Kind Regards,

Erwin

Add hotspot to joomla content with plugin 10 years 9 months ago #21617

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I can add such an option to the plugin.

In the meantime you could use the "marker boundary" centering which will automatically determine the best position + zoom for the main map.

And this way you could set a high zoom for zoom to be used with the plugin.

Add hotspot to joomla content with plugin 10 years 9 months ago #21618

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0

Daniel Dimitrov wrote: I can add such an option to the plugin.

In the meantime you could use the "marker boundary" centering which will automatically determine the best position + zoom for the main map.

And this way you could set a high zoom for zoom to be used with the plugin.

Hi Daniel,

It would be very nice if you would add that to the plugin.
Thanks for the work around, I'll use that for now,

Kind Regards,

Erwin

Add hotspot to joomla content with plugin 10 years 9 months ago #21619

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0
A simple question, where can I find the "marker boundary" centering?

Kind Regards,

Erwin

Add hotspot to joomla content with plugin 10 years 9 months ago #21622

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
It is in the menu settings? Menu -> your menu -> the hotspots menu item for default map.

Add hotspot to joomla content with plugin 10 years 9 months ago #21623

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0

Daniel Dimitrov wrote: It is in the menu settings? Menu -> your menu -> the hotspots menu item for default map.

Got it, thanks!

Add hotspot to joomla content with plugin 10 years 9 months ago #21637

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0
Hi Daniel,

One thing came up my mind...
would it for the plugin be possible to only load the css/javescript when the view is in article only?
For example, the maps shows here correctly:
www.motorcamping.eu/nederland/limburg/in-den-hof.html

But if you go one level higher to
www.motorcamping.eu/nederland/limburg/
and look at the source, all the css/javascript is loaded, but that isn't necessary because it doesn't show a map there.

Kind Regards,

Erwin

Add hotspot to joomla content with plugin 10 years 9 months ago #21645

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Erwin,
That is not nice of course... I'll try to see what I can do.
Regards,
Daniel

Add hotspot to joomla content with plugin 10 years 9 months ago #21646

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0
Okay thank you already,
Regards,

Erwin

Add hotspot to joomla content with plugin 10 years 9 months ago #21852

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Erwin,
Would you please try the latest dev. release? Now the js should only be loaded if we have a hotspot in the introtext (on the featured view). This way if you add your {hotspots ...} code after the readmore we should not load any hotspots code on the featured view.

Regards,
Daniel

Add hotspot to joomla content with plugin 10 years 9 months ago #21860

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0
Hi Daniel,

I tested gitce79f9e and the js code still is there. I use the content plugin on the page:

mctest.de-wolff.eu/italien/marken/faranghe.html , which shows the markers within the content.

If I go a level higher to: mctest.de-wolff.eu/italien/marken/ the js code still is there, which is:


<script src=" maps.googleapis.com/maps/api/js?sensor=true " type="text/javascript"></script>
<script src="/media/com_hotspots/js/fixes.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/spin/spin.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/libraries/infobubble/infobubble.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/moo/Class.SubObjectMapping.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/moo/Map.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/moo/Map.Extras.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/moo/Map.Marker.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/moo/Map.InfoBubble.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/moo/Map.Geocoder.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/helpers/helper.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/core.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/sandbox.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/modules/hotspot/hotspot.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/modules/menu.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/helpers/slide.js" type="text/javascript"></script>
<script src="/media/com_hotspots/js/helpers/tab.js" type="text/javascript"></script>

But, if I go to the parent level, which is: mctest.de-wolff.eu/italien.html , no code is there.

If you need more clarification please let me know,

Regards,

Erwin

Add hotspot to joomla content with plugin 10 years 5 months ago #23260

  • John Tao
  • John Tao's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
you mean here? see attachment
Attachments:

Add hotspot to joomla content with plugin 10 years 5 months ago #23265

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
@John what are you talking about. Please start your own thread.
  • Page:
  • 1
Time to create page: 0.310 seconds