Last Modified: 10 Feb 2015
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
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.
$filter->isFilterActive()
<?php echo ( $state->get('records.category')? ' active' : NULL)?>
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.
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.
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 !?
Yes, I was thinking about advanced filter module templte.