php - Drupal: How to add exposed filter in views which have data from external db tab -


drupal - 7.36 views: 7.x-3.10 data module: 7.x-1.0-alpha7 db: mysql

i use data module adopt custom table views, after views generated data module, start make configuration on views page. right hit issue, how pick data , showed in "exposed filter" users. want add "exposed filters" @ views table "select box", , inside select box, contains possible values of specific column of data in database. right now, "exposed filters" has 1 value "-any-". how can adopt other column data exposed filters?

for example. in database table "test", has 2 column "id", , "name". , there 3 rows of data inside table. (1, "alice"), (2, "bob") , (3, "cindy"). after adopt table "test" view data module, edit view , add "exposed filter" "name". wish filter can "select box" , inside there 3 values "alice", "bob" , "cindy".

can that? , how?

very appreciate help!

use following module can satisfy requirement: https://www.drupal.org/project/views_selective_filters


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -