Egyszerűen nem értem, hogy mi lehet a probléma. A szerveren levő rendszerben egyszerűen nem hozza a szülő kifejezés a gyerekekhez tartozó tartalmakat, pedig a taxonomy_views-ban be van állítva a depth=1-re.
Itthoni környezetben frankón működik, de nem jövök rá, hogy mi lehet a probléma.
A szerveres környezetben domain access, és több szótár is van, de nem hiszem, hogy ez lehet a probléma.
Alább a nem működő view:
$view = new view; $view->name = 'taxonomy_term'; $view->description = 'A view to emulate Drupal core\'s handling of taxonomy/term.'; $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'Taxonomy term'; $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['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['pager']['type'] = 'full'; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['row_plugin'] = 'node'; $handler->display->display_options['row_options']['view_mode'] = 'search_result'; $handler->display->display_options['row_options']['links'] = 1; $handler->display->display_options['row_options']['comments'] = 0; /* Sort criterion: Content: Region-priority (field_region_priotity) */ $handler->display->display_options['sorts']['field_region_priotity_value']['id'] = 'field_region_priotity_value'; $handler->display->display_options['sorts']['field_region_priotity_value']['table'] = 'field_data_field_region_priotity'; $handler->display->display_options['sorts']['field_region_priotity_value']['field'] = 'field_region_priotity_value'; /* Sort criterion: Content: Category_prio (field_cat_prio) */ $handler->display->display_options['sorts']['field_cat_prio_value']['id'] = 'field_cat_prio_value'; $handler->display->display_options['sorts']['field_cat_prio_value']['table'] = 'field_data_field_cat_prio'; $handler->display->display_options['sorts']['field_cat_prio_value']['field'] = 'field_cat_prio_value'; /* Sort criterion: Content: Priority (field_priority) */ $handler->display->display_options['sorts']['field_priority_value']['id'] = 'field_priority_value'; $handler->display->display_options['sorts']['field_priority_value']['table'] = 'field_data_field_priority'; $handler->display->display_options['sorts']['field_priority_value']['field'] = 'field_priority_value'; /* Contextual filter: Content: Has taxonomy term ID (with depth) */ $handler->display->display_options['arguments']['term_node_tid_depth']['id'] = 'term_node_tid_depth'; $handler->display->display_options['arguments']['term_node_tid_depth']['table'] = 'node'; $handler->display->display_options['arguments']['term_node_tid_depth']['field'] = 'term_node_tid_depth'; $handler->display->display_options['arguments']['term_node_tid_depth']['default_action'] = 'not found'; $handler->display->display_options['arguments']['term_node_tid_depth']['exception']['title_enable'] = 1; $handler->display->display_options['arguments']['term_node_tid_depth']['title_enable'] = 1; $handler->display->display_options['arguments']['term_node_tid_depth']['title'] = '%1'; $handler->display->display_options['arguments']['term_node_tid_depth']['default_argument_type'] = 'fixed'; $handler->display->display_options['arguments']['term_node_tid_depth']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['term_node_tid_depth']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['term_node_tid_depth']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['term_node_tid_depth']['summary_options']['items_per_page'] = '25'; $handler->display->display_options['arguments']['term_node_tid_depth']['specify_validation'] = 1; $handler->display->display_options['arguments']['term_node_tid_depth']['validate']['type'] = 'taxonomy_term'; $handler->display->display_options['arguments']['term_node_tid_depth']['validate_options']['vocabularies'] = array( 'brands' => 'brands', 'categories' => 'categories', 'cities' => 'cities', 'tags' => 'tags', ); $handler->display->display_options['arguments']['term_node_tid_depth']['validate_options']['type'] = 'tids'; $handler->display->display_options['arguments']['term_node_tid_depth']['validate_options']['transform'] = 0; $handler->display->display_options['arguments']['term_node_tid_depth']['depth'] = '0'; $handler->display->display_options['arguments']['term_node_tid_depth']['break_phrase'] = 1; $handler->display->display_options['arguments']['term_node_tid_depth']['set_breadcrumb'] = 0; $handler->display->display_options['arguments']['term_node_tid_depth']['use_taxonomy_term_path'] = 0; /* Contextual filter: Content: Has taxonomy term ID depth modifier */ $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['id'] = 'term_node_tid_depth_modifier'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['table'] = 'node'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['field'] = 'term_node_tid_depth_modifier'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['exception']['title_enable'] = 1; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['default_argument_type'] = 'fixed'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['specify_validation'] = 1; /* Filter criterion: Content: Published or admin */ $handler->display->display_options['filters']['status_extra']['id'] = 'status_extra'; $handler->display->display_options['filters']['status_extra']['table'] = 'node'; $handler->display->display_options['filters']['status_extra']['field'] = 'status_extra'; $handler->display->display_options['filters']['status_extra']['group'] = 0; $handler->display->display_options['filters']['status_extra']['expose']['operator'] = FALSE; /* Display: Page */ $handler = $view->new_display('page', 'Page', 'page'); $handler->display->display_options['path'] = 'taxonomy/term/%'; /* Display: Feed */ $handler = $view->new_display('feed', 'Feed', 'feed'); $handler->display->display_options['pager']['type'] = 'full'; $handler->display->display_options['pager']['options']['items_per_page'] = 15; $handler->display->display_options['style_plugin'] = 'rss'; $handler->display->display_options['row_plugin'] = 'node_rss'; $handler->display->display_options['path'] = 'taxonomy/term/%/%/feed'; $handler->display->display_options['displays'] = array( 'page' => 'page', 'default' => 0, ); $translatables['taxonomy_term'] = array( t('Master'), t('more'), t('Potvrdi'), t('Reset'), t('Sort by'), t('Asc'), t('Desc'), t('Items per page'), t('- All -'), t('Offset'), t('All'), t('%1'), t('Page'), t('Feed'), );
Ez meg a működő:
$view = new view; $view->name = 'taxonomy_term'; $view->description = 'A view to emulate Drupal core\'s handling of taxonomy/term.'; $view->tag = 'default'; $view->base_table = 'node'; $view->human_name = 'Taxonomy term'; $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['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['pager']['type'] = 'full'; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['row_plugin'] = 'node'; $handler->display->display_options['row_options']['view_mode'] = 'search_result'; $handler->display->display_options['row_options']['links'] = 1; $handler->display->display_options['row_options']['comments'] = 0; /* Sort criterion: Content: Sticky */ $handler->display->display_options['sorts']['sticky']['id'] = 'sticky'; $handler->display->display_options['sorts']['sticky']['table'] = 'node'; $handler->display->display_options['sorts']['sticky']['field'] = 'sticky'; $handler->display->display_options['sorts']['sticky']['order'] = 'DESC'; /* 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'; /* Contextual filter: Content: Has taxonomy term ID (with depth) */ $handler->display->display_options['arguments']['term_node_tid_depth']['id'] = 'term_node_tid_depth'; $handler->display->display_options['arguments']['term_node_tid_depth']['table'] = 'node'; $handler->display->display_options['arguments']['term_node_tid_depth']['field'] = 'term_node_tid_depth'; $handler->display->display_options['arguments']['term_node_tid_depth']['default_action'] = 'not found'; $handler->display->display_options['arguments']['term_node_tid_depth']['exception']['title_enable'] = 1; $handler->display->display_options['arguments']['term_node_tid_depth']['title_enable'] = 1; $handler->display->display_options['arguments']['term_node_tid_depth']['title'] = '%1'; $handler->display->display_options['arguments']['term_node_tid_depth']['default_argument_type'] = 'fixed'; $handler->display->display_options['arguments']['term_node_tid_depth']['default_argument_skip_url'] = 0; $handler->display->display_options['arguments']['term_node_tid_depth']['summary']['number_of_records'] = '0'; $handler->display->display_options['arguments']['term_node_tid_depth']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['term_node_tid_depth']['summary_options']['items_per_page'] = '25'; $handler->display->display_options['arguments']['term_node_tid_depth']['specify_validation'] = 1; $handler->display->display_options['arguments']['term_node_tid_depth']['validate']['type'] = 'taxonomy_term'; $handler->display->display_options['arguments']['term_node_tid_depth']['validate_options']['type'] = 'tids'; $handler->display->display_options['arguments']['term_node_tid_depth']['validate_options']['transform'] = 0; $handler->display->display_options['arguments']['term_node_tid_depth']['depth'] = '1'; $handler->display->display_options['arguments']['term_node_tid_depth']['break_phrase'] = 1; $handler->display->display_options['arguments']['term_node_tid_depth']['set_breadcrumb'] = 0; $handler->display->display_options['arguments']['term_node_tid_depth']['use_taxonomy_term_path'] = 0; /* Contextual filter: Content: Has taxonomy term ID depth modifier */ $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['id'] = 'term_node_tid_depth_modifier'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['table'] = 'node'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['field'] = 'term_node_tid_depth_modifier'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['exception']['title_enable'] = 1; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['default_argument_type'] = 'fixed'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['summary']['format'] = 'default_summary'; $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['specify_validation'] = 1; /* Filter criterion: Content: Published or admin */ $handler->display->display_options['filters']['status_extra']['id'] = 'status_extra'; $handler->display->display_options['filters']['status_extra']['table'] = 'node'; $handler->display->display_options['filters']['status_extra']['field'] = 'status_extra'; $handler->display->display_options['filters']['status_extra']['group'] = 0; $handler->display->display_options['filters']['status_extra']['expose']['operator'] = FALSE; /* Display: Page */ $handler = $view->new_display('page', 'Page', 'page'); $handler->display->display_options['path'] = 'taxonomy/term/%'; /* Display: Feed */ $handler = $view->new_display('feed', 'Feed', 'feed'); $handler->display->display_options['pager']['type'] = 'full'; $handler->display->display_options['pager']['options']['items_per_page'] = 15; $handler->display->display_options['style_plugin'] = 'rss'; $handler->display->display_options['row_plugin'] = 'node_rss'; $handler->display->display_options['path'] = 'taxonomy/term/%/%/feed'; $handler->display->display_options['displays'] = array( 'page' => 'page', 'default' => 0, );
Megköszönöm, ha valaki tud segíteni!
Taxonomy upgrade extras:
Melyik modulhoz, modulokhoz kapcsolódik a téma?:
Drupal verzió:
Fórum:
Az kipróbáltad, hogy a depth
Az kipróbáltad, hogy a depth-t mondjuk 99-re állítod ?
...mit tudok: http://web.termuves.hu
99-et nem próbáltam, de 2-3
99-et nem próbáltam, de 2-3-at igen és akkor sem működött.
Viszont próbaképpen a működőt exportáltam, majd az beimportáltam a szerveren futó rendszerbe, és csodák csodájára, most működik.
Gazsesz