×

Notice

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

TOPIC: Show all hotspots in right slider

Show all hotspots in right slider 12 years 11 months ago #14626

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

I'm using the hotspots component for the first time and it works great! :)
I have a question, is there a way to show all the hotspots in the right slider? Currently 10 are shown, then I have to click on "more hotspots", and 10 more are shown and so on...

Kind Regards,

Erwin

Show all hotspots in right slider 12 years 11 months ago #14628

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

I found a solution in an other message to adjust the limit in the function getHotspots in hotspot.php. This works correct when I select a single category, but if I click on "show all categories" it gets limited again... Do you have any idea what could be causing this?

Regards,

Erwin

Show all hotspots in right slider 12 years 11 months ago #14630

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hi Erwin,
Have you changed the listAllHotspots function in components/com_hotspots/controllers/json.php line 55, few lines down you see the limit. Change it to something bigger and let me know if it did the trick for you.

Cheers,
Daniel

Show all hotspots in right slider 12 years 11 months ago #14632

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0
Great! That did the trick! :)

One question left, is it possible to enable the checkbox "Show hotspots from all categories" by default?

Show all hotspots in right slider 12 years 11 months ago #14636

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
compojoom.com/forum/27-hotspots/52-newbi...y-default?p=1#p13370

I don't like this solution much, because it loads the jquery framework just to do a simple click, but I'm sure you can figure out how to do the same with mootools :)

Cheers,
Daniel

Show all hotspots in right slider 12 years 11 months ago #14641

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

Thank you, I'll figure it out with mootools, that shouldn't be a problem,

Kind Regards,

Erwin
  • Page:
  • 1
Time to create page: 0.105 seconds