• Home
  • Support
  • Forum
  • Cobalt 8
  • can we have filter rest button in cobalt filter module after you search similar like in advanced search

brianpat VIP
Total posts: 211
04 Feb 2015 20:44

filter

Last Modified: 10 Feb 2015


brianpat VIP
Total posts: 211
04 Feb 2015 20:44

can we have filter rest button in cobalt filter module after you search similar like in advanced search ? i have uploaded a screenshot which i need in cobalt filter module


Sergey
Total posts: 13,748
05 Feb 2015 10:18

Yes, you can have that. There is $filter->isFilterActive() and somethign like this on none fields filters <?php echo ( $state->get('records.category')? ' active' : NULL)?>. This tells if you have that filter active or not. If yes you can create close filter button.


brianpat VIP
Total posts: 211
05 Feb 2015 10:23

Thanks Sergey, is it in the cobalt filter module template?

also any idea which line will i have to change. i m not good at programming in php, so would you please provide the full code? sorry for asking this.


Sergey
Total posts: 13,748
09 Feb 2015 10:38

I cannot ce=reate code for you because I do nto know what you need from the prospective of programmer and aso because that is something I would call custom work.


pepperstreet VIP
Total posts: 3,837
09 Feb 2015 13:19

brianpat can we have filter rest button in cobalt filter module after you search similar like in advanced search ?

I like the idea. Maybe a good optional feature for Cobalt 9 !?


Sergey
Total posts: 13,748
10 Feb 2015 04:29

Yes, I was thinking about advanced filter module templte.

Powered by Cobalt