klox7 VIP
Total posts: 914
13 Jan 2015 10:01

Hi,

I would like to create custom filter module template which uses field template that I manually select - hardcode in template (and not the ones form field parameters).

If this is the code to display filters <?php echo $filters[$keys_by_id[18]]->onRenderFilter($section, TRUE); ?> how can I show this field with select template?

Regards

Last Modified: 06 Feb 2015

Tags Filters


Sergey
Total posts: 13,748
22 Jan 2015 03:18

I cannot get it. You can hardcode only values that have results. DO not hardcode prefiltered links that will return nothing.


klox7 VIP
Total posts: 914
22 Jan 2015 07:34

But values that have no results can change. One day you have no result for one value and 2 weeks later you have. And with hardcoded stuff you must check this yourself.


Sergey
Total posts: 13,748
26 Jan 2015 03:48

Then you have to check what is there in _record_values table first and then only add values that will be there.

Powered by Cobalt