×

Notice

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

TOPIC: Show all categories/icons on the map by default

Show all categories/icons on the map by default 12 years 7 months ago #13958

  • Vincenzo Mecucci
  • Vincenzo Mecucci's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Yes! good! but... the last thing: how can I change the number "3" to get the number of the category that I write in the menu setup?
I try to explain: I have 2 menu items for 2 categories. Now when I click one of this the map shows the hotspot of that categories, but I would like to list the hotspot too.
thanks too much for the patient

Show all categories/icons on the map by default 12 years 7 months ago #13959

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
It is not possible to show the hotspots from 2 categories at the same time. Either just one or all.
Cheers,
Daniel

Show all categories/icons on the map by default 12 years 7 months ago #13960

  • Vincenzo Mecucci
  • Vincenzo Mecucci's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I think I don't explain you very well...
I would like that the hotspot about the category that I click on the menu, appar on the map but the list of that hotspot appear in the list on the right.
I want to change the code window.fireEvent('hotspots.category', 3); in window.fireEvent('hotspots.category', var_XY); where var_XY is the id of category that I write in the menu item.
I hope you understand what I mean...
Thanks!

Show all categories/icons on the map by default 12 years 7 months ago #14109

  • Kate Fisher
  • Kate Fisher's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Karma: 1
  • Thank you received: 0
Hi just wondering if anyone has found how you adjust the number of entries within a category which are shown at any one time (prior to the more entries button)? Ive adjusted CSS within the side menu so that I can fit more entries on but cant find the code / bit which controls how many entries which appear. Is this hardcoded in somewhere?

Newly returned to hotspots via a multitude of other mapping solutions, thank god for the work of the team this is definitely the most reliable standalone mapping solutions Ive found!

Show all categories/icons on the map by default 12 years 7 months ago #14123

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
@Vincenzo - I don't understand you -> this code suggested on the previous page:
compojoom.com/forum/27-hotspots/52-newbi...y-default?p=1#p13370

Should do exactly what you want. Once the category loads, it will click the menu on the right and will tell it to load the hotspots in this category.

@Kate - please start your own thread.(I'll tell you what to change and where) This question has nothing to do with the category discussion that we have.

Daniel

Show all categories/icons on the map by default 12 years 3 months ago #14782

  • angel rodriguez
  • angel rodriguez's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
sorry, but what part exactly paste this code?

Show all categories/icons on the map by default 12 years 3 months ago #14783

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Angel,
read again the post from Alex:
compojoom.com/forum/27-hotspots/52-newbi...y-default?p=1#p13370

he has pointed the path in views.... (of course this is in the component frontennd components/com_hotspots/views/...)

Cheers,
Daniel

Show all categories/icons on the map by default 12 years 3 months ago #14918

  • Marco Di Virgilio
  • Marco Di Virgilio's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 27
  • Thank you received: 0
I'm using this code and it works really well, but he doesn't show 2 marker on the same place, like Hotel+Restaurant ( company that want to be in two categories ) how is possible to show the two marker for the same company?? THANKS IN ADVANCE ! it's very important to me... and i think for more other users!
Thanks

Show all categories/icons on the map by default 12 years 3 months ago #14919

  • Marco Di Virgilio
  • Marco Di Virgilio's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 27
  • Thank you received: 0
Other soluction that i find, but not the easy way, it's to merge two icon's for the same place, but it the diplay ( near to the search field ) it show icon on over the others... so it's possibile to resize the distance from the icon??

Re: Show all categories/icons on the map by default 11 years 8 months ago #16984

  • Yana Morford
  • Yana Morford's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hello,

I cannot find the original thread with the answer to this problem.

What's the name of the file/file path?
Which line of code should be modified and how?

Thank you,
Yana.
  • Page:
  • 1
  • 2
Time to create page: 0.128 seconds