0

I have a view to display nodes, with many filters and sorting conditions; that it gets confusing. I want to display the effective filters somewhere, for example refined by X or sorted by Y. is there any way to print the active filters?

for instance consider I have mobile shop, with a view to list phones.there are lots of fields that user can refine using exposed filters. I want at top of page print a message like:

showing phones with X Gb ram and Y screen size and Price Z.

3
  • 1
    What do you mean by "effective filters"? Could you maybe make something like sscce of it? You know, minimalistic example of what you want, as close to vanilla Drupal as possible? Like, two fields, two filters and show what you got and what you wanted?
    – Mołot
    Jul 27 '15 at 7:50
  • @Mołot Consider I am showing mobile phones in a view, and I have lots of exposed filter for display size, memory, etc. I want to know what filter is effective, and show that, for instance I want to show at top of the page, listing phones with screen size X, and Y GB Memory.
    – shidsun
    Jul 27 '15 at 12:25
  • Please edit your question to provide details. Comments are not for details, they are second-class content that can and will be ignored by many, if not most, users.
    – Mołot
    Jul 27 '15 at 12:28
1

I'm not sure I understand your question. You may have a look at :

This module provides a themed function called get_exposed_filter_output() which print out the values of the exposed filter used in a view.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.