Jeff VIP
Total posts: 745
01 Oct 2015 04:52

Hi,

I would like to create a category link that acts as any other filter once clicked. Users then have a visual feedback of the category they've chosen and they can reset the view like they would if they had used a field filter.

Best regards, Jeff


klox7 VIP
Total posts: 914
01 Oct 2015 12:04

index.php?option=com_cobalt&task=records.filter&clean=1&section_id=1&Itemid=134&filter_name[0]=filter_cat&filter_val[0]=46

where

  • clean=1 cleans existing filters
  • section_id=1 checks section with id 1
  • Itemid=134 is id of menu item
  • filter_name[0]=filter_cat&filter_val[0]=46 is the one that filters through category. 46 is an id of category.

There is great docmentation about this here


Jeff VIP
Total posts: 745
01 Oct 2015 14:03

Brilliant!

I couldn't figure out the category bit.

Thanks klox7!

+1

Powered by Cobalt