Doppelausgabe eines Feldes im Anhang
Eingetragen von drivin (4)
am 12.04.2012 - 16:21 Uhr in
am 12.04.2012 - 16:21 Uhr in
Hallo,
ich gebe in einem Views Anhang die Beschreibung eines Taxonomie Terms, dessen ID ich mir über den Kontextfilter aus der URL hole, aus. Die gesamte View funktioniert ohne Probleme, bis auf die Beschreibung, die ausgegebene doppelt wird.
Woher kommt die Doppelausgabe und wie lässt sich diese abstellen?
Hier mal der Export meiner View. Es handelt sich dabei um den Anhang mit dem Namen Category Description.
$view = new view;
$view->name = 'product_catalog';
$view->description = '';
$view->tag = 'Katalog, Kategorien';
$view->base_table = 'taxonomy_term_data';
$view->human_name = 'Product Categories';
$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['use_more_text'] = 'mehr';
$handler->display->display_options['access']['type'] = 'none';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['query']['options']['query_comment'] = FALSE;
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Zurücksetzen';
$handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Sortieren nach';
$handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Aufsteigend';
$handler->display->display_options['exposed_form']['options']['sort_desc_label'] = 'Absteigend';
$handler->display->display_options['exposed_form']['options']['autosubmit'] = 1;
$handler->display->display_options['exposed_form']['options']['autosubmit_hide'] = 1;
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '0';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['pager']['options']['id'] = '0';
$handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Einträge pro Seite';
$handler->display->display_options['pager']['options']['expose']['items_per_page_options_all'] = 0;
$handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Alle -';
$handler->display->display_options['style_plugin'] = 'default';
$handler->display->display_options['row_plugin'] = 'fields';
$handler->display->display_options['row_options']['hide_empty'] = 0;
$handler->display->display_options['row_options']['default_field_elements'] = 1;
/* Beziehung: Taxonomie-Begriff: Übergeordneter Begriff */
$handler->display->display_options['relationships']['parent']['id'] = 'parent';
$handler->display->display_options['relationships']['parent']['table'] = 'taxonomy_term_hierarchy';
$handler->display->display_options['relationships']['parent']['field'] = 'parent';
$handler->display->display_options['relationships']['parent']['required'] = 1;
/* Feld: Taxonomie-Begriff: Categorie Image */
$handler->display->display_options['fields']['field_category_image']['id'] = 'field_category_image';
$handler->display->display_options['fields']['field_category_image']['table'] = 'field_data_field_category_image';
$handler->display->display_options['fields']['field_category_image']['field'] = 'field_category_image';
$handler->display->display_options['fields']['field_category_image']['label'] = '';
$handler->display->display_options['fields']['field_category_image']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_category_image']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_category_image']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_category_image']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_category_image']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_category_image']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_category_image']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_category_image']['hide_alter_empty'] = 1;
$handler->display->display_options['fields']['field_category_image']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_category_image']['settings'] = array(
'image_style' => 'produt_category',
'image_link' => 'content',
);
$handler->display->display_options['fields']['field_category_image']['field_api_classes'] = 0;
/* Feld: Taxonomie-Begriff: Name */
$handler->display->display_options['fields']['name']['id'] = 'name';
$handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
$handler->display->display_options['fields']['name']['field'] = 'name';
$handler->display->display_options['fields']['name']['label'] = '';
$handler->display->display_options['fields']['name']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['name']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['name']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['name']['alter']['external'] = 0;
$handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['name']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['name']['alter']['word_boundary'] = 0;
$handler->display->display_options['fields']['name']['alter']['ellipsis'] = 0;
$handler->display->display_options['fields']['name']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['name']['alter']['trim'] = 0;
$handler->display->display_options['fields']['name']['alter']['html'] = 0;
$handler->display->display_options['fields']['name']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['name']['element_default_classes'] = 1;
$handler->display->display_options['fields']['name']['hide_empty'] = 0;
$handler->display->display_options['fields']['name']['empty_zero'] = 0;
$handler->display->display_options['fields']['name']['hide_alter_empty'] = 1;
$handler->display->display_options['fields']['name']['link_to_taxonomy'] = 1;
$handler->display->display_options['fields']['name']['convert_spaces'] = 0;
/* Feld: Taxonomie-Begriff: ‚Bearbeiten‘-Link für Begriffe */
$handler->display->display_options['fields']['edit_term']['id'] = 'edit_term';
$handler->display->display_options['fields']['edit_term']['table'] = 'taxonomy_term_data';
$handler->display->display_options['fields']['edit_term']['field'] = 'edit_term';
$handler->display->display_options['fields']['edit_term']['label'] = '';
$handler->display->display_options['fields']['edit_term']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['external'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['edit_term']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['edit_term']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['trim'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['html'] = 0;
$handler->display->display_options['fields']['edit_term']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['edit_term']['element_default_classes'] = 1;
$handler->display->display_options['fields']['edit_term']['hide_empty'] = 0;
$handler->display->display_options['fields']['edit_term']['empty_zero'] = 0;
$handler->display->display_options['fields']['edit_term']['hide_alter_empty'] = 1;
/* Kontextfilter: Taxonomie-Begriff: Begriffs-ID */
$handler->display->display_options['arguments']['tid']['id'] = 'tid';
$handler->display->display_options['arguments']['tid']['table'] = 'taxonomy_term_data';
$handler->display->display_options['arguments']['tid']['field'] = 'tid';
$handler->display->display_options['arguments']['tid']['relationship'] = 'parent';
$handler->display->display_options['arguments']['tid']['default_action'] = 'default';
$handler->display->display_options['arguments']['tid']['default_argument_type'] = 'taxonomy_tid';
$handler->display->display_options['arguments']['tid']['default_argument_options']['term_page'] = 0;
$handler->display->display_options['arguments']['tid']['default_argument_options']['node'] = 0;
$handler->display->display_options['arguments']['tid']['default_argument_options']['limit'] = 0;
$handler->display->display_options['arguments']['tid']['default_argument_skip_url'] = 0;
$handler->display->display_options['arguments']['tid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['tid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['tid']['summary_options']['count'] = FALSE;
$handler->display->display_options['arguments']['tid']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['arguments']['tid']['break_phrase'] = 0;
$handler->display->display_options['arguments']['tid']['not'] = 0;
/* Display: Product Categories */
$handler = $view->new_display('page', 'Product Categories', 'product_categories');
$handler->display->display_options['path'] = 'taxonomy/term/%';
/* Display: Anhang */
$handler = $view->new_display('attachment', 'Anhang', 'product_catalog');
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['pager']['options']['items_per_page'] = '0';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['defaults']['relationships'] = FALSE;
/* Beziehung: Taxonomie-Begriff: Inhalt die Produktkategorie benutzt */
$handler->display->display_options['relationships']['reverse_field_category_node']['id'] = 'reverse_field_category_node';
$handler->display->display_options['relationships']['reverse_field_category_node']['table'] = 'taxonomy_term_data';
$handler->display->display_options['relationships']['reverse_field_category_node']['field'] = 'reverse_field_category_node';
$handler->display->display_options['relationships']['reverse_field_category_node']['relationship'] = 'parent';
$handler->display->display_options['relationships']['reverse_field_category_node']['required'] = 1;
/* Beziehung: Inhalt: Referenziertes Produkt */
$handler->display->display_options['relationships']['field_products_product_id']['id'] = 'field_products_product_id';
$handler->display->display_options['relationships']['field_products_product_id']['table'] = 'field_data_field_products';
$handler->display->display_options['relationships']['field_products_product_id']['field'] = 'field_products_product_id';
$handler->display->display_options['relationships']['field_products_product_id']['relationship'] = 'reverse_field_category_node';
$handler->display->display_options['relationships']['field_products_product_id']['required'] = 1;
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Feld: Node ID */
$handler->display->display_options['fields']['nid']['id'] = 'nid';
$handler->display->display_options['fields']['nid']['table'] = 'node';
$handler->display->display_options['fields']['nid']['field'] = 'nid';
$handler->display->display_options['fields']['nid']['relationship'] = 'reverse_field_category_node';
$handler->display->display_options['fields']['nid']['ui_name'] = 'Node ID';
$handler->display->display_options['fields']['nid']['label'] = '';
$handler->display->display_options['fields']['nid']['exclude'] = TRUE;
$handler->display->display_options['fields']['nid']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['nid']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['nid']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['nid']['alter']['external'] = 0;
$handler->display->display_options['fields']['nid']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['nid']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['nid']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['nid']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['nid']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['nid']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['nid']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['nid']['alter']['trim'] = 0;
$handler->display->display_options['fields']['nid']['alter']['html'] = 0;
$handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['nid']['element_default_classes'] = 1;
$handler->display->display_options['fields']['nid']['hide_empty'] = 0;
$handler->display->display_options['fields']['nid']['empty_zero'] = 0;
$handler->display->display_options['fields']['nid']['hide_alter_empty'] = 1;
$handler->display->display_options['fields']['nid']['link_to_node'] = 0;
/* Feld: Produkt Bild */
$handler->display->display_options['fields']['field_product_image']['id'] = 'field_product_image';
$handler->display->display_options['fields']['field_product_image']['table'] = 'field_data_field_product_image';
$handler->display->display_options['fields']['field_product_image']['field'] = 'field_product_image';
$handler->display->display_options['fields']['field_product_image']['relationship'] = 'field_products_product_id';
$handler->display->display_options['fields']['field_product_image']['ui_name'] = 'Produkt Bild';
$handler->display->display_options['fields']['field_product_image']['label'] = '';
$handler->display->display_options['fields']['field_product_image']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_product_image']['alter']['make_link'] = 1;
$handler->display->display_options['fields']['field_product_image']['alter']['path'] = 'node/[nid]';
$handler->display->display_options['fields']['field_product_image']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_product_image']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_product_image']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_product_image']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_product_image']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_product_image']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_product_image']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_product_image']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['field_product_image']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_product_image']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_product_image']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_product_image']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_product_image']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_product_image']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_product_image']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_product_image']['hide_alter_empty'] = 1;
$handler->display->display_options['fields']['field_product_image']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_product_image']['settings'] = array(
'image_style' => 'product_image',
'image_link' => '',
);
$handler->display->display_options['fields']['field_product_image']['field_api_classes'] = 0;
/* Feld: Commerce Product: Titel */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'commerce_product';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['relationship'] = 'field_products_product_id';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['title']['alter']['make_link'] = 1;
$handler->display->display_options['fields']['title']['alter']['path'] = 'node/[nid]';
$handler->display->display_options['fields']['title']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['title']['alter']['external'] = 0;
$handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['title']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['title']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['title']['alter']['trim'] = 0;
$handler->display->display_options['fields']['title']['alter']['html'] = 0;
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['element_default_classes'] = 1;
$handler->display->display_options['fields']['title']['hide_empty'] = 0;
$handler->display->display_options['fields']['title']['empty_zero'] = 0;
$handler->display->display_options['fields']['title']['hide_alter_empty'] = 1;
$handler->display->display_options['fields']['title']['link_to_product'] = 0;
/* Feld: Link zur Marke */
$handler->display->display_options['fields']['field_product_brand']['id'] = 'field_product_brand';
$handler->display->display_options['fields']['field_product_brand']['table'] = 'field_data_field_product_brand';
$handler->display->display_options['fields']['field_product_brand']['field'] = 'field_product_brand';
$handler->display->display_options['fields']['field_product_brand']['relationship'] = 'field_products_product_id';
$handler->display->display_options['fields']['field_product_brand']['ui_name'] = 'Link zur Marke';
$handler->display->display_options['fields']['field_product_brand']['label'] = '';
$handler->display->display_options['fields']['field_product_brand']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_product_brand']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_product_brand']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_product_brand']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_product_brand']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_product_brand']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_product_brand']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_product_brand']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_product_brand']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_product_brand']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['field_product_brand']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_product_brand']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_product_brand']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_product_brand']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_product_brand']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_product_brand']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_product_brand']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_product_brand']['hide_alter_empty'] = 1;
$handler->display->display_options['fields']['field_product_brand']['field_api_classes'] = 0;
/* Feld: Inhalt: Produktkategorie */
$handler->display->display_options['fields']['field_category']['id'] = 'field_category';
$handler->display->display_options['fields']['field_category']['table'] = 'field_data_field_category';
$handler->display->display_options['fields']['field_category']['field'] = 'field_category';
$handler->display->display_options['fields']['field_category']['relationship'] = 'reverse_field_category_node';
$handler->display->display_options['fields']['field_category']['label'] = '';
$handler->display->display_options['fields']['field_category']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_category']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_category']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_category']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_category']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_category']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_category']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_category']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_category']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_category']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['field_category']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_category']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_category']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_category']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_category']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_category']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_category']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_category']['hide_alter_empty'] = 1;
$handler->display->display_options['fields']['field_category']['field_api_classes'] = 0;
/* Feld: Preis */
$handler->display->display_options['fields']['commerce_price']['id'] = 'commerce_price';
$handler->display->display_options['fields']['commerce_price']['table'] = 'field_data_commerce_price';
$handler->display->display_options['fields']['commerce_price']['field'] = 'commerce_price';
$handler->display->display_options['fields']['commerce_price']['relationship'] = 'field_products_product_id';
$handler->display->display_options['fields']['commerce_price']['ui_name'] = 'Preis';
$handler->display->display_options['fields']['commerce_price']['label'] = '';
$handler->display->display_options['fields']['commerce_price']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['commerce_price']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['commerce_price']['alter']['path'] = 'node/[nid]';
$handler->display->display_options['fields']['commerce_price']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['commerce_price']['alter']['external'] = 0;
$handler->display->display_options['fields']['commerce_price']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['commerce_price']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['commerce_price']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['commerce_price']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['commerce_price']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['commerce_price']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['commerce_price']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['commerce_price']['alter']['trim'] = 0;
$handler->display->display_options['fields']['commerce_price']['alter']['html'] = 0;
$handler->display->display_options['fields']['commerce_price']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['commerce_price']['element_default_classes'] = 1;
$handler->display->display_options['fields']['commerce_price']['hide_empty'] = 0;
$handler->display->display_options['fields']['commerce_price']['empty_zero'] = 0;
$handler->display->display_options['fields']['commerce_price']['hide_alter_empty'] = 1;
$handler->display->display_options['fields']['commerce_price']['click_sort_column'] = 'amount';
$handler->display->display_options['fields']['commerce_price']['type'] = 'commerce_price_formatted_amount';
$handler->display->display_options['fields']['commerce_price']['settings'] = array(
'calculation' => 'calculated_sell_price',
);
$handler->display->display_options['fields']['commerce_price']['field_api_classes'] = 0;
/* Feld: UVP */
$handler->display->display_options['fields']['field_product_list_price']['id'] = 'field_product_list_price';
$handler->display->display_options['fields']['field_product_list_price']['table'] = 'field_data_field_product_list_price';
$handler->display->display_options['fields']['field_product_list_price']['field'] = 'field_product_list_price';
$handler->display->display_options['fields']['field_product_list_price']['relationship'] = 'field_products_product_id';
$handler->display->display_options['fields']['field_product_list_price']['ui_name'] = 'UVP';
$handler->display->display_options['fields']['field_product_list_price']['label'] = 'was';
$handler->display->display_options['fields']['field_product_list_price']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_product_list_price']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_product_list_price']['alter']['path'] = '[view_node]';
$handler->display->display_options['fields']['field_product_list_price']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_product_list_price']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_product_list_price']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_product_list_price']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_product_list_price']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_product_list_price']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_product_list_price']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_product_list_price']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['field_product_list_price']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_product_list_price']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_product_list_price']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_product_list_price']['element_label_colon'] = 0;
$handler->display->display_options['fields']['field_product_list_price']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_product_list_price']['hide_empty'] = 1;
$handler->display->display_options['fields']['field_product_list_price']['empty_zero'] = 1;
$handler->display->display_options['fields']['field_product_list_price']['hide_alter_empty'] = 1;
$handler->display->display_options['fields']['field_product_list_price']['settings'] = array(
'thousand_separator' => '',
'decimal_separator' => ',',
'scale' => '2',
'prefix_suffix' => 1,
);
$handler->display->display_options['fields']['field_product_list_price']['field_api_classes'] = 0;
/* Feld: Zum Warenkorb hinzufügen */
$handler->display->display_options['fields']['add_to_cart_form']['id'] = 'add_to_cart_form';
$handler->display->display_options['fields']['add_to_cart_form']['table'] = 'commerce_product';
$handler->display->display_options['fields']['add_to_cart_form']['field'] = 'add_to_cart_form';
$handler->display->display_options['fields']['add_to_cart_form']['relationship'] = 'field_products_product_id';
$handler->display->display_options['fields']['add_to_cart_form']['ui_name'] = 'Zum Warenkorb hinzufügen';
$handler->display->display_options['fields']['add_to_cart_form']['label'] = '';
$handler->display->display_options['fields']['add_to_cart_form']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['alter']['external'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['add_to_cart_form']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['add_to_cart_form']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['alter']['trim'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['alter']['html'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['add_to_cart_form']['element_default_classes'] = 1;
$handler->display->display_options['fields']['add_to_cart_form']['hide_empty'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['empty_zero'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['hide_alter_empty'] = 1;
$handler->display->display_options['fields']['add_to_cart_form']['show_quantity'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['default_quantity'] = '1';
$handler->display->display_options['fields']['add_to_cart_form']['combine'] = 1;
$handler->display->display_options['fields']['add_to_cart_form']['display_path'] = 0;
$handler->display->display_options['fields']['add_to_cart_form']['line_item_type'] = 0;
/* Feld: Commerce Product: Operationslinks */
$handler->display->display_options['fields']['operations']['id'] = 'operations';
$handler->display->display_options['fields']['operations']['table'] = 'commerce_product';
$handler->display->display_options['fields']['operations']['field'] = 'operations';
$handler->display->display_options['fields']['operations']['relationship'] = 'field_products_product_id';
$handler->display->display_options['fields']['operations']['label'] = '';
$handler->display->display_options['fields']['operations']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['operations']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['operations']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['operations']['alter']['external'] = 0;
$handler->display->display_options['fields']['operations']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['operations']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['operations']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['operations']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['operations']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['operations']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['operations']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['operations']['alter']['trim'] = 0;
$handler->display->display_options['fields']['operations']['alter']['html'] = 0;
$handler->display->display_options['fields']['operations']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['operations']['element_default_classes'] = 1;
$handler->display->display_options['fields']['operations']['hide_empty'] = 0;
$handler->display->display_options['fields']['operations']['empty_zero'] = 0;
$handler->display->display_options['fields']['operations']['hide_alter_empty'] = 1;
$handler->display->display_options['fields']['operations']['add_destination'] = 0;
$handler->display->display_options['defaults']['sorts'] = FALSE;
/* Sortierkriterien: Commerce Product: Price (commerce_price:amount) */
$handler->display->display_options['sorts']['commerce_price_amount']['id'] = 'commerce_price_amount';
$handler->display->display_options['sorts']['commerce_price_amount']['table'] = 'field_data_commerce_price';
$handler->display->display_options['sorts']['commerce_price_amount']['field'] = 'commerce_price_amount';
$handler->display->display_options['sorts']['commerce_price_amount']['relationship'] = 'field_products_product_id';
$handler->display->display_options['sorts']['commerce_price_amount']['exposed'] = TRUE;
$handler->display->display_options['sorts']['commerce_price_amount']['expose']['label'] = 'Price';
/* Sortierkriterien: Commerce Product: Titel */
$handler->display->display_options['sorts']['title']['id'] = 'title';
$handler->display->display_options['sorts']['title']['table'] = 'commerce_product';
$handler->display->display_options['sorts']['title']['field'] = 'title';
$handler->display->display_options['sorts']['title']['relationship'] = 'field_products_product_id';
$handler->display->display_options['sorts']['title']['exposed'] = TRUE;
$handler->display->display_options['sorts']['title']['expose']['label'] = 'Titel';
$handler->display->display_options['defaults']['filters'] = FALSE;
/* Filterkriterium: Taxonomie-Begriff: Vokabular */
$handler->display->display_options['filters']['vid']['id'] = 'vid';
$handler->display->display_options['filters']['vid']['table'] = 'taxonomy_term_data';
$handler->display->display_options['filters']['vid']['field'] = 'vid';
$handler->display->display_options['filters']['vid']['value'] = array(
3 => '3',
);
/* Filterkriterium: Inhalt: Veröffentlicht */
$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']['relationship'] = 'reverse_field_category_node';
$handler->display->display_options['filters']['status']['value'] = '1';
$handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
$handler->display->display_options['filters']['status']['expose']['label'] = 'Veröffentlicht';
$handler->display->display_options['filters']['status']['expose']['use_operator'] = FALSE;
$handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
$handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
$handler->display->display_options['filters']['status']['expose']['required'] = TRUE;
$handler->display->display_options['filters']['status']['expose']['remember'] = FALSE;
$handler->display->display_options['filters']['status']['expose']['multiple'] = FALSE;
$handler->display->display_options['displays'] = array(
'product_categories' => 'product_categories',
'default' => 0,
);
$handler->display->display_options['attachment_position'] = 'after';
$handler->display->display_options['inherit_exposed_filters'] = 1;
$handler->display->display_options['render_pager'] = 0;
/* Display: Shop Main Page */
$handler = $view->new_display('page', 'Shop Main Page', 'shop_main_page');
$handler->display->display_options['defaults']['relationships'] = FALSE;
/* Beziehung: Taxonomie-Begriff: Übergeordneter Begriff */
$handler->display->display_options['relationships']['parent']['id'] = 'parent';
$handler->display->display_options['relationships']['parent']['table'] = 'taxonomy_term_hierarchy';
$handler->display->display_options['relationships']['parent']['field'] = 'parent';
$handler->display->display_options['relationships']['parent']['required'] = 0;
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Feld: Taxonomie-Begriff: Categorie Image */
$handler->display->display_options['fields']['field_category_image']['id'] = 'field_category_image';
$handler->display->display_options['fields']['field_category_image']['table'] = 'field_data_field_category_image';
$handler->display->display_options['fields']['field_category_image']['field'] = 'field_category_image';
$handler->display->display_options['fields']['field_category_image']['label'] = '';
$handler->display->display_options['fields']['field_category_image']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_category_image']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_category_image']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_category_image']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_category_image']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_category_image']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_category_image']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_category_image']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_category_image']['hide_alter_empty'] = 1;
$handler->display->display_options['fields']['field_category_image']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_category_image']['settings'] = array(
'image_style' => 'produt_category',
'image_link' => 'content',
);
$handler->display->display_options['fields']['field_category_image']['field_api_classes'] = 0;
/* Feld: Taxonomie-Begriff: Name */
$handler->display->display_options['fields']['name']['id'] = 'name';
$handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data';
$handler->display->display_options['fields']['name']['field'] = 'name';
$handler->display->display_options['fields']['name']['label'] = '';
$handler->display->display_options['fields']['name']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['name']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['name']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['name']['alter']['external'] = 0;
$handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['name']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['name']['alter']['word_boundary'] = 0;
$handler->display->display_options['fields']['name']['alter']['ellipsis'] = 0;
$handler->display->display_options['fields']['name']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['name']['alter']['trim'] = 0;
$handler->display->display_options['fields']['name']['alter']['html'] = 0;
$handler->display->display_options['fields']['name']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['name']['element_default_classes'] = 1;
$handler->display->display_options['fields']['name']['hide_empty'] = 0;
$handler->display->display_options['fields']['name']['empty_zero'] = 0;
$handler->display->display_options['fields']['name']['hide_alter_empty'] = 1;
$handler->display->display_options['fields']['name']['link_to_taxonomy'] = 1;
$handler->display->display_options['fields']['name']['convert_spaces'] = 0;
/* Feld: Taxonomie-Begriff: ‚Bearbeiten‘-Link für Begriffe */
$handler->display->display_options['fields']['edit_term']['id'] = 'edit_term';
$handler->display->display_options['fields']['edit_term']['table'] = 'taxonomy_term_data';
$handler->display->display_options['fields']['edit_term']['field'] = 'edit_term';
$handler->display->display_options['fields']['edit_term']['label'] = '';
$handler->display->display_options['fields']['edit_term']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['external'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['edit_term']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['edit_term']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['trim'] = 0;
$handler->display->display_options['fields']['edit_term']['alter']['html'] = 0;
$handler->display->display_options['fields']['edit_term']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['edit_term']['element_default_classes'] = 1;
$handler->display->display_options['fields']['edit_term']['hide_empty'] = 0;
$handler->display->display_options['fields']['edit_term']['empty_zero'] = 0;
$handler->display->display_options['fields']['edit_term']['hide_alter_empty'] = 1;
$handler->display->display_options['defaults']['arguments'] = FALSE;
$handler->display->display_options['defaults']['filters'] = FALSE;
/* Filterkriterium: Taxonomie-Begriff: Vokabular */
$handler->display->display_options['filters']['vid']['id'] = 'vid';
$handler->display->display_options['filters']['vid']['table'] = 'taxonomy_term_data';
$handler->display->display_options['filters']['vid']['field'] = 'vid';
$handler->display->display_options['filters']['vid']['relationship'] = 'parent';
$handler->display->display_options['filters']['vid']['operator'] = 'empty';
$handler->display->display_options['filters']['vid']['value'] = array(
3 => '3',
);
/* Filterkriterium: Taxonomie-Begriff: Vokabular */
$handler->display->display_options['filters']['vid_1']['id'] = 'vid_1';
$handler->display->display_options['filters']['vid_1']['table'] = 'taxonomy_term_data';
$handler->display->display_options['filters']['vid_1']['field'] = 'vid';
$handler->display->display_options['filters']['vid_1']['value'] = array(
3 => '3',
);
$handler->display->display_options['path'] = 'shop';
/* Display: Category Description */
$handler = $view->new_display('attachment', 'Category Description', 'category_description');
$handler->display->display_options['pager']['type'] = 'none';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['defaults']['relationships'] = FALSE;
/* Beziehung: Taxonomie-Begriff: Übergeordneter Begriff */
$handler->display->display_options['relationships']['parent']['id'] = 'parent';
$handler->display->display_options['relationships']['parent']['table'] = 'taxonomy_term_hierarchy';
$handler->display->display_options['relationships']['parent']['field'] = 'parent';
$handler->display->display_options['relationships']['parent']['required'] = 1;
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Feld: Taxonomie-Begriff: Begriffsbeschreibung */
$handler->display->display_options['fields']['description']['id'] = 'description';
$handler->display->display_options['fields']['description']['table'] = 'taxonomy_term_data';
$handler->display->display_options['fields']['description']['field'] = 'description';
$handler->display->display_options['fields']['description']['relationship'] = 'parent';
$handler->display->display_options['fields']['description']['label'] = '';
$handler->display->display_options['fields']['description']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['description']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['description']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['description']['alter']['external'] = 0;
$handler->display->display_options['fields']['description']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['description']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['description']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['description']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['description']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['description']['alter']['more_link'] = 0;
$handler->display->display_options['fields']['description']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['description']['alter']['trim'] = 0;
$handler->display->display_options['fields']['description']['alter']['html'] = 0;
$handler->display->display_options['fields']['description']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['description']['element_default_classes'] = 1;
$handler->display->display_options['fields']['description']['hide_empty'] = 0;
$handler->display->display_options['fields']['description']['empty_zero'] = 0;
$handler->display->display_options['fields']['description']['hide_alter_empty'] = 1;
$handler->display->display_options['defaults']['arguments'] = FALSE;
/* Kontextfilter: Taxonomie-Begriff: Begriffs-ID */
$handler->display->display_options['arguments']['tid']['id'] = 'tid';
$handler->display->display_options['arguments']['tid']['table'] = 'taxonomy_term_data';
$handler->display->display_options['arguments']['tid']['field'] = 'tid';
$handler->display->display_options['arguments']['tid']['relationship'] = 'parent';
$handler->display->display_options['arguments']['tid']['default_action'] = 'default';
$handler->display->display_options['arguments']['tid']['default_argument_type'] = 'taxonomy_tid';
$handler->display->display_options['arguments']['tid']['default_argument_options']['term_page'] = 0;
$handler->display->display_options['arguments']['tid']['default_argument_options']['node'] = 0;
$handler->display->display_options['arguments']['tid']['default_argument_options']['limit'] = 0;
$handler->display->display_options['arguments']['tid']['default_argument_skip_url'] = 0;
$handler->display->display_options['arguments']['tid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['tid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['tid']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['arguments']['tid']['break_phrase'] = 0;
$handler->display->display_options['arguments']['tid']['not'] = 0;
$handler->display->display_options['defaults']['filters'] = FALSE;
$handler->display->display_options['displays'] = array(
'product_categories' => 'product_categories',
'default' => 0,
'shop_main_page' => 0,
);
$handler->display->display_options['inherit_arguments'] = 0;
$translatables['product_catalog'] = array(
t('Master'),
t('mehr'),
t('Übernehmen'),
t('Zurücksetzen'),
t('Sortieren nach'),
t('Aufsteigend'),
t('Absteigend'),
t('Einträge pro Seite'),
t('- Alle -'),
t('Offset'),
t('Übergeordneter Eintrag'),
t('Alles'),
t('Product Categories'),
t('Anhang'),
t('field_category'),
t('Artikel'),
t('node/[nid]'),
t('was'),
t('[view_node]'),
t('Price'),
t('Titel'),
t('Veröffentlicht'),
t('Shop Main Page'),
t('Category Description'),
);
- Anmelden oder Registrieren um Kommentare zu schreiben
Distinct
am 14.04.2012 - 12:47 Uhr
Hallo,
ein ähnlches Problem hatten wir gerade schon in einem anderen Thread. Aufgrund bestimmter Tabellenverknüpfungen kann es vorkommen, dass Datensätze mehrfach angezeigt werden. In den Einstellungen des Views mit den doppelten Ergebnissen gibt es auf der rechten Seite den Punkt "Sonstige / Query-Settings / Einstellungen". Dort kannst Du die Option "Distinct" aktivieren und damit sollte dann jeder Datensatz nur einmal angezeigt werden.
Gruß,
Sven
www.allsatis.de
saved my day... :)
am 23.04.2012 - 08:51 Uhr
saved my day... :)
ich hatte das Problem, als ich einen Filter aktiviert hatte. Nur User, die in einer andere Tabelle (über id referenziert) einen bestimmten Wert hatten, sollten angezeigt werden.
Da es aber vorkommen konnte, dass diese Abfrage für einen User schon mal mehrere Zeilen lieferte, hatte ich dann direkt mehrere Ausgaben des Users. Bin fast verzweifelt...
Viele Grüße
Marius