Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

How to filter view data using custom operator only. I have created one view named demouser.

-Now i want one exposed filter which do not have any input value through user(i.e it should not display text-box when it is exposed to user) Just its label is Usertype.

  • In the Filter there should be one text box having values Employee and Customer(also let me know how to add these options in the select list). When i choose Employee and say filter it should display all employee list only and vice-versa.

  • Also i am using users table mail field for filteration, as there is no employee and customer field then how to achieve this. Please let me know in detail the steps i need to follow and files i needed to write as i am new to drupal.

I have tried with views_handler_filter_string but not able to understand how to do it. Please help thanks in advance.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.