×

Notice

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

TOPIC: Version 5.0.3 - Categories and Sub Categories

Version 5.0.3 - Categories and Sub Categories 9 years 9 months ago #30034

  • Craig Luecke
  • Craig Luecke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 30
  • Thank you received: 0
I'm so excited that I chose to use this platform out of all the other ones available. Nothing else beats this. Hands down.

Regarding the new feature of sub categories which you provided to us users - Is there any possible way you can code it so that if the main category is selected that all sub categories are displayed as well? Otherwise, if I add an additional sub cat I need to go through my entire site and update all URLs for the embeds or the menu links to include the new subcat.

For example, I have VENUES as the main category and then as subs I have various clusters as colors such as BLUE, RED, GREEN and so on. If I just click the main category of VENUES and none of the sub categories nothing is displayed.

Maybe I am wrong, but I would think that if you had a main category with subs you wouldn't store any records in the main category that everything would be placed into a sub.

Hope this makes sense.

Version 5.0.3 - Categories and Sub Categories 9 years 9 months ago #30036

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Well, it kinda works like this. If you look at our demo site and click on the filters you'll see that when you click on a parent category the sub categories are automatically selected. So, I've made it easy for the end user to select partent and sub cateogries.
Initially I thought to implement it so that when the parent category is selected in the background we load everything that is in this category. From one side that is logical, but on the other side it creates performanced problems where I have to figure out if the current category has children etc. And there were other situations where it wasn't logical. Let say that you have selected the parent category and one children category - wouldn't you expect to see only stuff from the parent and that children category? I would, but for some reason the system would return stuff from all subcateogries... With the current implementation where the user has to explicitly select what he wants we solve this issues. And the automatic selection of children makes it easy for the end user.

So I guess that you'll have to go in the menus and select exactly what you want to show :( How often do you add new categories?

Regards,
Daniel

Version 5.0.3 - Categories and Sub Categories 9 years 9 months ago #30038

  • Craig Luecke
  • Craig Luecke's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 30
  • Thank you received: 0
Nope, that's fine. It just creates a very long URL when I have to list each category. I can just go through and edit them all to make them work. The premade URLs are now showing like this:

fairfax2015.com/map2#38.9177885/-77.2853...;129;130/hotspot/246

I didn't want to have to educate the user to click the small FILTER link. I am finding that my users are not understanding that extra step.

I will make it work. Thank you!

Version 5.0.3 - Categories and Sub Categories 9 years 9 months ago #30059

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
How about making the filters button really display as a button?
Make a template override for default_hotspots.php line 47:
			<span class="fa fa-angle-double-down pull-left js-hs-show-filter hs-toggle-show-filter">
				<?php echo JText::_('COM_HOTSPOTS_FILTERS'); ?>
			</span>
change it to:
			<span class="fa fa-angle-double-down pull-left js-hs-show-filter hs-toggle-show-filter btn btn-mini">
				<?php echo JText::_('COM_HOTSPOTS_FILTERS'); ?>
			</span>

Now the filters will display as a normal mini button. What do you think?

Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.098 seconds