Problem: I'm trying to add Views Filters to this display, but I cannot see any of the fields attached to this Content Type.
Question: How may I create exposed filters on these two fields Showcase City and Showcase Field (shown below) if views does not see them? How do I begin to debug a situation like this?
Managed Fields tab of Content Type
Manage Display tab of the Content Type:
But I cannot see them as options in Views...
Filtered for all Content Fields:
I also attempted to package them into a Feature to move along the Dev-Stage-Prod chain:
Updates based on additional information from answers or comments
Based on a suggestion below I created the following hook:
/**
* Implements hook_field_views_data_alter().
*/
function debug_field_views_data_alter(&$result, $field, $module) {
$string = implode(',', array_keys($result));
$filtered = strstr($string, 'showcase_headshot');
if (strlen($filtered) > 1) {
//dsm($filtered);
dsm($field);
}
}
Which allowed me to see this:
jQuery Update Module settings:
Export of the view:
$view = new view();
$view->name = 'nominal_showcase';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'nominal Showcase';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['css_class'] = 'theatre-nominal-showcase-wrapper';
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '12';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['pager']['options']['id'] = '0';
$handler->display->display_options['pager']['options']['quantity'] = '9';
$handler->display->display_options['style_plugin'] = 'default';
$handler->display->display_options['row_plugin'] = 'fields';
/* Field: Content: Title */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
/* Sort criterion: Content: Post date */
$handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'node';
$handler->display->display_options['sorts']['created']['field'] = 'created';
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
/* Sort criterion: Content: Title */
$handler->display->display_options['sorts']['title']['id'] = 'title';
$handler->display->display_options['sorts']['title']['table'] = 'node';
$handler->display->display_options['sorts']['title']['field'] = 'title';
/* Filter criterion: Content: Published */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 1;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: Content: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'nominal_showcase_page' => 'nominal_showcase_page',
);
/* Display: nominal Showcase Block */
$handler = $view->new_display('block', 'nominal Showcase Block', 'block_1');