S
S
sabanovvv2014-09-13 15:54:19
PHP
sabanovvv, 2014-09-13 15:54:19

How to make such a filter on Drupal?

How to make such a filter on Drupal?
www.arendasib.ru/ru/orders

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
andead, 2014-09-13
@andead

google for "drupal views expanded filters"

A
Alexey, 2014-09-18
@AlexFreem

If you change the filter values ​​and click "Find", you will notice that there are parameters in the address bar.
Further, these parameters can be used in the opened filters of the Views module.
Well, or if you like to write by hand (as I do in one of the projects), then you can:
1) Get these parameters using the drupal_get_query_parameters() function;
2) Use each parameter when selecting nodes using the entityFieldQuery() class;
In this case, each parameter can be used with ->fieldCondition.
Read how it works here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question