Drupal, Views Exposed Filters: List Options Containing Results
I'm setting up an apartment search site and have exposed a views filter for 'property type'. The property type is a select field with 16 options but the client only wants those options that actually contain results to appear in the drop down of the exposed filter. Any ideas? Thanks!
You could use form_alter, Take a look at: http://drupal.org/node/463990, or http://drupal.org/project/better_exposed_filters for usage specific to exposed filters.
this is what you want http://drupal.org/project/views_hacks#views_filters_selective Views Selective Exposed Filters On list and checkbox exposed filters, you can specify the filter option "Limit list to result set" to only display values that are actually returned in the view's results. The filter option "Further limit list to active filters" restricts the displayed values to view results obtained by applying exposed filter values.
How can Block direct access to drupal 6 site
how to clear varnish cache for a drupal view?
Drupal 6- 404 is not showing for menu item URL pattern implemented using hook_menu
hook the function in module in drupal
Conditional Field is not working with content_multigroup, cck , drupal
In drupal Primary Link is like empty
Programmatically creating nodes with audiofield in Drupal 6
Drupal: How do I pass profile tokens to user profile page?
CKeditor stopped working after drush up (6.22 -> 6.25)
Change markup field tekst during validation
FCK Editor's FileBrowser doesn't work anymore [closed]
Detecting whether a user has created his node profile
Creating and using services in drupal6
Setting a page variable in a function
Captcha image doesnot change dynamically in drupal 6,if admin is not logged in
Using views in drupal simplenews