×

Notice

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

TOPIC: Value Added plugin to Hotspots

Value Added plugin to Hotspots 13 years 3 months ago #13288

  • Bruce Hatton
  • Bruce Hatton's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 62
  • Thank you received: 0
Daniel,

I am not sure if this falls outside your normal support regime, but both myself and Eliecer have bought ARI Soft Pretty Photo so that when you click on an image or link in the Hotspots Info Window it will open a lightbox to an external page. This is well demonstrated on www.virtualbc.ca

I have bought the plugin from ARI Soft and they have emailed me a modified PrettPhoto plugin to work with Hotspots, but from I read in Eliecer's email below, it seems that some of the Hotspots code needs to be modified as well.

I was wondering if it would be possible for one of the following to happen:

1. You and ARI Soft work together so that their lightbox works with Hotspots and vice versa

2. You create an option to open the link in a lightbox window as on www.virtualbc.ca - This could be a value added addition to Hotspots. There must be GNU version out there which you could tailor to Hotspots...

The ideal choice would be Option 2!

Value Added plugin to Hotspots 13 years 3 months ago #13298

  • Eliecer Marchante
  • Eliecer Marchante's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
Hi Bruce,

The hotspots code doesn't need to be modified. The guys from ARI Soft (PrettyPhoto plugin) modified their own code to make it compatible with hotspots, specially now with the new API from Google Maps.

I am agree with you, it could be a valuable addition to Hotspots.

Value Added plugin to Hotspots 13 years 3 months ago #13432

  • Eliecer Marchante
  • Eliecer Marchante's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
Hi guys,
after several attempts, finally PrettyPhoto is fully compatible with hotspots in every aspect. Whoever is interested, please, contact them for the customized version.

This is the message I got from them:
We have created installation archive for custom version of "System - ARI Pretty Photo" plugin. It can be installed over standard version of the plugin and the plugin adds integration with HotSpot automatically. Everybody who purchased "ARI Pretty Photo" and need integration with HotSpot can contact us and we will provide custom plugin.

Value Added plugin to Hotspots 13 years 3 months ago #13479

  • Bruce Hatton
  • Bruce Hatton's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 62
  • Thank you received: 0
Yep - after a fair bit of communication, ARI Soft have produced great add-on for Hotspots.

One of beauties of Hotspots is the fact that when you click on a category, the page does not re-load (I guess that's Ajax), but I found it frustrating that when you clicked on a link within the infowindow, you were taken away from the page. ARI prettyPhoto changes all that by opening the link in a modal window - therefore allowing you to continue browse the map without interruption.

What would be good now is to have the ability to click on 'Read More' within the infowindow and open an external URL in a prettyPhoto modal window.

Value Added plugin to Hotspots 13 years 3 months ago #13481

  • Bruce Hatton
  • Bruce Hatton's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 62
  • Thank you received: 0
Now that ARI Soft have produced a version of prettyPhoto designed to work specifically with Hotspots, do you think it’s possible to add an option in the ‘Hotspots - edit marker’ config to open a prettyPhoto link from the ‘Read More’ link inside the infowindow?

Value Added plugin to Hotspots 13 years 3 months ago #13482

  • Eliecer Marchante
  • Eliecer Marchante's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
i am pretty sure you can add the prettyphoto code to that link, all you need to do is modify the code where 'Read More' is located.

Value Added plugin to Hotspots 13 years 3 months ago #13483

  • Bruce Hatton
  • Bruce Hatton's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 62
  • Thank you received: 0
When you say 'YOU can add the code' I hope you are addressing Daniel. I wouldn't know where to begin. :rolleyes:

Value Added plugin to Hotspots 13 years 3 months ago #13484

  • Eliecer Marchante
  • Eliecer Marchante's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
The PrettyPhoto Syntax is:

for images:
<a href="link?iframe=true&width=98%&height=98%" rel="prettyPhoto"><img src="image" border="0" /></a>

for text:
<a href="link?iframe=true&width=98%&height=98%" rel="prettyPhoto">Text Here</a>

If you modify the ‘Read More’ link adapting it to the last code, I am pretty sure you will get the results you are looking for.

Value Added plugin to Hotspots 13 years 3 months ago #13509

  • Bruce Hatton
  • Bruce Hatton's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 62
  • Thank you received: 0
Dan - do you have quick hack for this?

You can assume that I won't need to link to an article page, detail page or Sobi2 entry - only an external page in a prettyPhoto popup.

Value Added plugin to Hotspots 13 years 3 months ago #13514

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I don't have a quick hack for this. I'll rewrite the way linking works in the next version and will allow 3rd party developers to use plugins to link to their own components.

I hope that this will make everyone happy...

Value Added plugin to Hotspots 13 years 3 months ago #13517

  • Bruce Hatton
  • Bruce Hatton's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 62
  • Thank you received: 0
Sounds good to me...

Value Added plugin to Hotspots 13 years 3 months ago #13520

  • Eliecer Marchante
  • Eliecer Marchante's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
Hi Daniel, in what file is located the 'Read More' link/option?

I wanna try something.

Value Added plugin to Hotspots 13 years 3 months ago #13526

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
views/json/view.raw.php - in the prepareHotspots function, but this will change a lot. I'll add a separate field in the database for the type of the link... and will try to hook it with joomla's plugin system.

Daniel

Value Added plugin to Hotspots 12 years 1 month ago #17970

  • Michel Du
  • Michel Du's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 0
Is ARI Pretty Photo still working with Hotspots 3 ?

Value Added plugin to Hotspots 12 years 1 month ago #17984

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I haven't tried it. There were few changes in hotspots 3 that could have broken the old integration, but we need to test it.
Daniel
  • Page:
  • 1
Time to create page: 0.130 seconds