SHARE
TWEET

Untitled

a guest Jun 28th, 2014 220 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $view = new view();
  2. $view->name = 'taxonomy_term';
  3. $view->description = 'A view to emulate Drupal core\'s handling of taxonomy/term.';
  4. $view->tag = 'default';
  5. $view->base_table = 'node';
  6. $view->human_name = 'Taxonomy term';
  7. $view->core = 7;
  8. $view->api_version = '3.0';
  9. $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  10.  
  11. /* Display: Master */
  12. $handler = $view->new_display('default', 'Master', 'default');
  13. $handler->display->display_options['use_more_always'] = FALSE;
  14. $handler->display->display_options['use_more_text'] = 'altro';
  15. $handler->display->display_options['access']['type'] = 'none';
  16. $handler->display->display_options['cache']['type'] = 'none';
  17. $handler->display->display_options['query']['type'] = 'views_query';
  18. $handler->display->display_options['query']['options']['query_comment'] = FALSE;
  19. $handler->display->display_options['exposed_form']['type'] = 'better_exposed_filters';
  20. $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Applica';
  21. $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Ripristina';
  22. $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordina per';
  23. $handler->display->display_options['exposed_form']['options']['sort_desc_label'] = 'Disc';
  24. $handler->display->display_options['exposed_form']['options']['autosubmit_hide'] = FALSE;
  25. $handler->display->display_options['exposed_form']['options']['bef'] = array(
  26.   'general' => array(
  27.     'allow_secondary' => 0,
  28.     'secondary_label' => 'Opzioni avanzate',
  29.   ),
  30.   'field_localizzato_value' => array(
  31.     'bef_format' => 'bef',
  32.     'more_options' => array(
  33.       'bef_select_all_none' => FALSE,
  34.       'bef_collapsible' => 0,
  35.       'is_secondary' => 0,
  36.       'any_label' => '',
  37.       'bef_filter_description' => '',
  38.       'tokens' => array(
  39.         'available' => array(
  40.           0 => 'global_types',
  41.         ),
  42.       ),
  43.       'rewrite' => array(
  44.         'filter_rewrite_values' => '',
  45.       ),
  46.     ),
  47.   ),
  48.   'field_tipologia_tid' => array(
  49.     'bef_format' => 'bef',
  50.     'more_options' => array(
  51.       'bef_select_all_none' => 0,
  52.       'bef_collapsible' => 0,
  53.       'is_secondary' => 0,
  54.       'any_label' => '',
  55.       'bef_filter_description' => '',
  56.       'tokens' => array(
  57.         'available' => array(
  58.           0 => 'global_types',
  59.         ),
  60.       ),
  61.       'rewrite' => array(
  62.         'filter_rewrite_values' => '',
  63.       ),
  64.     ),
  65.   ),
  66.   'field_piattaforma_tid' => array(
  67.     'bef_format' => 'default',
  68.     'more_options' => array(
  69.       'bef_select_all_none' => FALSE,
  70.       'bef_collapsible' => 0,
  71.       'is_secondary' => 0,
  72.       'any_label' => '',
  73.       'bef_filter_description' => '',
  74.       'tokens' => array(
  75.         'available' => array(
  76.           0 => 'global_types',
  77.         ),
  78.       ),
  79.       'rewrite' => array(
  80.         'filter_rewrite_values' => '',
  81.       ),
  82.     ),
  83.   ),
  84. );
  85. $handler->display->display_options['exposed_form']['options']['input_required'] = 0;
  86. $handler->display->display_options['exposed_form']['options']['text_input_required_format'] = 'full_html';
  87. $handler->display->display_options['pager']['type'] = 'full';
  88. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Voci per pagina';
  89. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tutto -';
  90. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Scostamento';
  91. $handler->display->display_options['pager']['options']['tags']['first'] = '« prima';
  92. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ precedente';
  93. $handler->display->display_options['pager']['options']['tags']['next'] = 'seguente ›';
  94. $handler->display->display_options['pager']['options']['tags']['last'] = 'ultima »';
  95. $handler->display->display_options['style_plugin'] = 'default';
  96. $handler->display->display_options['style_options']['row_class'] = 'tax-row';
  97. $handler->display->display_options['style_options']['default_row_class'] = FALSE;
  98. $handler->display->display_options['style_options']['row_class_special'] = FALSE;
  99. $handler->display->display_options['row_plugin'] = 'fields';
  100. $handler->display->display_options['row_options']['default_field_elements'] = FALSE;
  101. /* Campo: Contenuto: Titolo */
  102. $handler->display->display_options['fields']['title']['id'] = 'title';
  103. $handler->display->display_options['fields']['title']['table'] = 'node';
  104. $handler->display->display_options['fields']['title']['field'] = 'title';
  105. $handler->display->display_options['fields']['title']['label'] = '';
  106. $handler->display->display_options['fields']['title']['element_type'] = 'h3';
  107. $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
  108. $handler->display->display_options['fields']['title']['element_default_classes'] = FALSE;
  109. /* Campo: Contenuto: Ambientazione */
  110. $handler->display->display_options['fields']['field_ambientazione']['id'] = 'field_ambientazione';
  111. $handler->display->display_options['fields']['field_ambientazione']['table'] = 'field_data_field_ambientazione';
  112. $handler->display->display_options['fields']['field_ambientazione']['field'] = 'field_ambientazione';
  113. $handler->display->display_options['fields']['field_ambientazione']['label'] = '';
  114. $handler->display->display_options['fields']['field_ambientazione']['element_label_colon'] = FALSE;
  115. $handler->display->display_options['fields']['field_ambientazione']['settings'] = array(
  116.   'class' => '',
  117. );
  118. $handler->display->display_options['fields']['field_ambientazione']['delta_offset'] = '0';
  119. /* Campo: Contenuto: Contro */
  120. $handler->display->display_options['fields']['field_contro']['id'] = 'field_contro';
  121. $handler->display->display_options['fields']['field_contro']['table'] = 'field_data_field_contro';
  122. $handler->display->display_options['fields']['field_contro']['field'] = 'field_contro';
  123. $handler->display->display_options['fields']['field_contro']['label'] = '';
  124. $handler->display->display_options['fields']['field_contro']['element_label_colon'] = FALSE;
  125. $handler->display->display_options['fields']['field_contro']['element_default_classes'] = FALSE;
  126. $handler->display->display_options['fields']['field_contro']['settings'] = array(
  127.   'class' => '',
  128. );
  129. $handler->display->display_options['fields']['field_contro']['delta_offset'] = '0';
  130. $handler->display->display_options['fields']['field_contro']['field_api_classes'] = TRUE;
  131. /* Campo: Contenuto: Data rilascio */
  132. $handler->display->display_options['fields']['field_datarilascio']['id'] = 'field_datarilascio';
  133. $handler->display->display_options['fields']['field_datarilascio']['table'] = 'field_data_field_datarilascio';
  134. $handler->display->display_options['fields']['field_datarilascio']['field'] = 'field_datarilascio';
  135. $handler->display->display_options['fields']['field_datarilascio']['label'] = '';
  136. $handler->display->display_options['fields']['field_datarilascio']['element_label_colon'] = FALSE;
  137. $handler->display->display_options['fields']['field_datarilascio']['settings'] = array(
  138.   'format_type' => 'long',
  139.   'fromto' => 'both',
  140.   'multiple_number' => '',
  141.   'multiple_from' => '',
  142.   'multiple_to' => '',
  143.   'class' => '',
  144. );
  145. /* Campo: Contenuto: Data rilascio in Italia */
  146. $handler->display->display_options['fields']['field_datarilascio_italia']['id'] = 'field_datarilascio_italia';
  147. $handler->display->display_options['fields']['field_datarilascio_italia']['table'] = 'field_data_field_datarilascio_italia';
  148. $handler->display->display_options['fields']['field_datarilascio_italia']['field'] = 'field_datarilascio_italia';
  149. $handler->display->display_options['fields']['field_datarilascio_italia']['label'] = '';
  150. $handler->display->display_options['fields']['field_datarilascio_italia']['element_label_colon'] = FALSE;
  151. $handler->display->display_options['fields']['field_datarilascio_italia']['settings'] = array(
  152.   'format_type' => 'long',
  153.   'fromto' => 'both',
  154.   'multiple_number' => '',
  155.   'multiple_from' => '',
  156.   'multiple_to' => '',
  157.   'class' => '',
  158. );
  159. /* Campo: Contenuto: Genere */
  160. $handler->display->display_options['fields']['field_genere']['id'] = 'field_genere';
  161. $handler->display->display_options['fields']['field_genere']['table'] = 'field_data_field_genere';
  162. $handler->display->display_options['fields']['field_genere']['field'] = 'field_genere';
  163. $handler->display->display_options['fields']['field_genere']['label'] = '';
  164. $handler->display->display_options['fields']['field_genere']['element_label_colon'] = FALSE;
  165. $handler->display->display_options['fields']['field_genere']['settings'] = array(
  166.   'class' => '',
  167. );
  168. $handler->display->display_options['fields']['field_genere']['delta_offset'] = '0';
  169. /* Campo: Contenuto: Gioco in Italiano */
  170. $handler->display->display_options['fields']['field_localizzato']['id'] = 'field_localizzato';
  171. $handler->display->display_options['fields']['field_localizzato']['table'] = 'field_data_field_localizzato';
  172. $handler->display->display_options['fields']['field_localizzato']['field'] = 'field_localizzato';
  173. $handler->display->display_options['fields']['field_localizzato']['label'] = '';
  174. $handler->display->display_options['fields']['field_localizzato']['element_label_colon'] = FALSE;
  175. $handler->display->display_options['fields']['field_localizzato']['element_default_classes'] = FALSE;
  176. $handler->display->display_options['fields']['field_localizzato']['type'] = 'list_key';
  177. $handler->display->display_options['fields']['field_localizzato']['settings'] = array(
  178.   'class' => '',
  179. );
  180. $handler->display->display_options['fields']['field_localizzato']['field_api_classes'] = TRUE;
  181. /* Campo: Contenuto: Percorso */
  182. $handler->display->display_options['fields']['path']['id'] = 'path';
  183. $handler->display->display_options['fields']['path']['table'] = 'node';
  184. $handler->display->display_options['fields']['path']['field'] = 'path';
  185. $handler->display->display_options['fields']['path']['label'] = '';
  186. $handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
  187. /* Campo: Contenuto: Piattaforma */
  188. $handler->display->display_options['fields']['field_piattaforma']['id'] = 'field_piattaforma';
  189. $handler->display->display_options['fields']['field_piattaforma']['table'] = 'field_data_field_piattaforma';
  190. $handler->display->display_options['fields']['field_piattaforma']['field'] = 'field_piattaforma';
  191. $handler->display->display_options['fields']['field_piattaforma']['label'] = '';
  192. $handler->display->display_options['fields']['field_piattaforma']['element_label_colon'] = FALSE;
  193. $handler->display->display_options['fields']['field_piattaforma']['settings'] = array(
  194.   'class' => '',
  195. );
  196. $handler->display->display_options['fields']['field_piattaforma']['delta_offset'] = '0';
  197. /* Campo: Contenuto: Pro */
  198. $handler->display->display_options['fields']['field_pro']['id'] = 'field_pro';
  199. $handler->display->display_options['fields']['field_pro']['table'] = 'field_data_field_pro';
  200. $handler->display->display_options['fields']['field_pro']['field'] = 'field_pro';
  201. $handler->display->display_options['fields']['field_pro']['label'] = '';
  202. $handler->display->display_options['fields']['field_pro']['element_label_colon'] = FALSE;
  203. $handler->display->display_options['fields']['field_pro']['element_default_classes'] = FALSE;
  204. $handler->display->display_options['fields']['field_pro']['settings'] = array(
  205.   'class' => '',
  206. );
  207. $handler->display->display_options['fields']['field_pro']['delta_offset'] = '0';
  208. $handler->display->display_options['fields']['field_pro']['field_api_classes'] = TRUE;
  209. /* Campo: Contenuto: Publisher */
  210. $handler->display->display_options['fields']['field_publisher']['id'] = 'field_publisher';
  211. $handler->display->display_options['fields']['field_publisher']['table'] = 'field_data_field_publisher';
  212. $handler->display->display_options['fields']['field_publisher']['field'] = 'field_publisher';
  213. $handler->display->display_options['fields']['field_publisher']['label'] = '';
  214. $handler->display->display_options['fields']['field_publisher']['element_label_colon'] = FALSE;
  215. $handler->display->display_options['fields']['field_publisher']['settings'] = array(
  216.   'class' => '',
  217. );
  218. /* Campo: Contenuto: Reflink */
  219. $handler->display->display_options['fields']['field_reflink']['id'] = 'field_reflink';
  220. $handler->display->display_options['fields']['field_reflink']['table'] = 'field_data_field_reflink';
  221. $handler->display->display_options['fields']['field_reflink']['field'] = 'field_reflink';
  222. $handler->display->display_options['fields']['field_reflink']['label'] = '';
  223. $handler->display->display_options['fields']['field_reflink']['element_label_colon'] = FALSE;
  224. $handler->display->display_options['fields']['field_reflink']['settings'] = array(
  225.   'class' => '',
  226. );
  227. /* Campo: Contenuto: Requisiti */
  228. $handler->display->display_options['fields']['field_requisiti']['id'] = 'field_requisiti';
  229. $handler->display->display_options['fields']['field_requisiti']['table'] = 'field_data_field_requisiti';
  230. $handler->display->display_options['fields']['field_requisiti']['field'] = 'field_requisiti';
  231. $handler->display->display_options['fields']['field_requisiti']['label'] = '';
  232. $handler->display->display_options['fields']['field_requisiti']['element_label_colon'] = FALSE;
  233. $handler->display->display_options['fields']['field_requisiti']['settings'] = array(
  234.   'class' => '',
  235. );
  236. /* Campo: Contenuto: Screenshot */
  237. $handler->display->display_options['fields']['field_screenshot']['id'] = 'field_screenshot';
  238. $handler->display->display_options['fields']['field_screenshot']['table'] = 'field_data_field_screenshot';
  239. $handler->display->display_options['fields']['field_screenshot']['field'] = 'field_screenshot';
  240. $handler->display->display_options['fields']['field_screenshot']['label'] = '';
  241. $handler->display->display_options['fields']['field_screenshot']['element_label_colon'] = FALSE;
  242. $handler->display->display_options['fields']['field_screenshot']['click_sort_column'] = 'fid';
  243. $handler->display->display_options['fields']['field_screenshot']['settings'] = array(
  244.   'image_style' => 'tax_side_thumb',
  245.   'image_link' => '',
  246.   'class' => '',
  247. );
  248. $handler->display->display_options['fields']['field_screenshot']['delta_limit'] = '4';
  249. $handler->display->display_options['fields']['field_screenshot']['delta_offset'] = '0';
  250. $handler->display->display_options['fields']['field_screenshot']['separator'] = '';
  251. /* Campo: Contenuto: Tipologia */
  252. $handler->display->display_options['fields']['field_tipologia']['id'] = 'field_tipologia';
  253. $handler->display->display_options['fields']['field_tipologia']['table'] = 'field_data_field_tipologia';
  254. $handler->display->display_options['fields']['field_tipologia']['field'] = 'field_tipologia';
  255. $handler->display->display_options['fields']['field_tipologia']['label'] = '';
  256. $handler->display->display_options['fields']['field_tipologia']['element_label_colon'] = FALSE;
  257. $handler->display->display_options['fields']['field_tipologia']['element_default_classes'] = FALSE;
  258. $handler->display->display_options['fields']['field_tipologia']['settings'] = array(
  259.   'class' => '',
  260. );
  261. $handler->display->display_options['fields']['field_tipologia']['field_api_classes'] = TRUE;
  262. /* Campo: Contenuto: TLDR */
  263. $handler->display->display_options['fields']['field_tldr']['id'] = 'field_tldr';
  264. $handler->display->display_options['fields']['field_tldr']['table'] = 'field_data_field_tldr';
  265. $handler->display->display_options['fields']['field_tldr']['field'] = 'field_tldr';
  266. $handler->display->display_options['fields']['field_tldr']['label'] = '';
  267. $handler->display->display_options['fields']['field_tldr']['element_label_colon'] = FALSE;
  268. $handler->display->display_options['fields']['field_tldr']['settings'] = array(
  269.   'class' => '',
  270. );
  271. /* Campo: Contenuto: Voto globale */
  272. $handler->display->display_options['fields']['field_voto']['id'] = 'field_voto';
  273. $handler->display->display_options['fields']['field_voto']['table'] = 'field_data_field_voto';
  274. $handler->display->display_options['fields']['field_voto']['field'] = 'field_voto';
  275. $handler->display->display_options['fields']['field_voto']['label'] = '';
  276. $handler->display->display_options['fields']['field_voto']['element_label_colon'] = FALSE;
  277. $handler->display->display_options['fields']['field_voto']['settings'] = array(
  278.   'thousand_separator' => ' ',
  279.   'decimal_separator' => '.',
  280.   'scale' => '2',
  281.   'prefix_suffix' => 1,
  282.   'class' => '',
  283. );
  284. /* Campo: Contenuto: Wide Screenshot */
  285. $handler->display->display_options['fields']['field_widescreenshot']['id'] = 'field_widescreenshot';
  286. $handler->display->display_options['fields']['field_widescreenshot']['table'] = 'field_data_field_widescreenshot';
  287. $handler->display->display_options['fields']['field_widescreenshot']['field'] = 'field_widescreenshot';
  288. $handler->display->display_options['fields']['field_widescreenshot']['label'] = '';
  289. $handler->display->display_options['fields']['field_widescreenshot']['element_label_colon'] = FALSE;
  290. $handler->display->display_options['fields']['field_widescreenshot']['click_sort_column'] = 'fid';
  291. $handler->display->display_options['fields']['field_widescreenshot']['settings'] = array(
  292.   'image_style' => 'home_latest_halfwide',
  293.   'image_link' => '',
  294.   'class' => 'img-responsive',
  295. );
  296. /* Criterio di ordinamento: Contenuto: Voto globale (field_voto) */
  297. $handler->display->display_options['sorts']['field_voto_value']['id'] = 'field_voto_value';
  298. $handler->display->display_options['sorts']['field_voto_value']['table'] = 'field_data_field_voto';
  299. $handler->display->display_options['sorts']['field_voto_value']['field'] = 'field_voto_value';
  300. $handler->display->display_options['sorts']['field_voto_value']['order'] = 'DESC';
  301. /* Criterio di ordinamento: Contenuto: Sempre in cima */
  302. $handler->display->display_options['sorts']['sticky']['id'] = 'sticky';
  303. $handler->display->display_options['sorts']['sticky']['table'] = 'node';
  304. $handler->display->display_options['sorts']['sticky']['field'] = 'sticky';
  305. $handler->display->display_options['sorts']['sticky']['order'] = 'DESC';
  306. /* Criterio di ordinamento: Contenuto: Data di inserimento */
  307. $handler->display->display_options['sorts']['created']['id'] = 'created';
  308. $handler->display->display_options['sorts']['created']['table'] = 'node';
  309. $handler->display->display_options['sorts']['created']['field'] = 'created';
  310. $handler->display->display_options['sorts']['created']['order'] = 'DESC';
  311. /* Filtro contestuale: Contenuto: Ha un termine di tassonomia (o uno dei suoi figli) identificato dall'ID */
  312. $handler->display->display_options['arguments']['term_node_tid_depth']['id'] = 'term_node_tid_depth';
  313. $handler->display->display_options['arguments']['term_node_tid_depth']['table'] = 'node';
  314. $handler->display->display_options['arguments']['term_node_tid_depth']['field'] = 'term_node_tid_depth';
  315. $handler->display->display_options['arguments']['term_node_tid_depth']['default_action'] = 'not found';
  316. $handler->display->display_options['arguments']['term_node_tid_depth']['exception']['title_enable'] = TRUE;
  317. $handler->display->display_options['arguments']['term_node_tid_depth']['exception']['title'] = 'Tutti';
  318. $handler->display->display_options['arguments']['term_node_tid_depth']['title_enable'] = TRUE;
  319. $handler->display->display_options['arguments']['term_node_tid_depth']['title'] = '%1';
  320. $handler->display->display_options['arguments']['term_node_tid_depth']['default_argument_type'] = 'fixed';
  321. $handler->display->display_options['arguments']['term_node_tid_depth']['summary']['number_of_records'] = '0';
  322. $handler->display->display_options['arguments']['term_node_tid_depth']['summary']['format'] = 'default_summary';
  323. $handler->display->display_options['arguments']['term_node_tid_depth']['summary_options']['items_per_page'] = '25';
  324. $handler->display->display_options['arguments']['term_node_tid_depth']['specify_validation'] = TRUE;
  325. $handler->display->display_options['arguments']['term_node_tid_depth']['validate']['type'] = 'taxonomy_term';
  326. $handler->display->display_options['arguments']['term_node_tid_depth']['validate_options']['vocabularies'] = array(
  327.   'ambientazione' => 'ambientazione',
  328.   'genere' => 'genere',
  329.   'piattaforma' => 'piattaforma',
  330.   'tipologia' => 'tipologia',
  331. );
  332. $handler->display->display_options['arguments']['term_node_tid_depth']['depth'] = '0';
  333. $handler->display->display_options['arguments']['term_node_tid_depth']['break_phrase'] = TRUE;
  334. /* Filtro contestuale: Contenuto: Ha un termine di tassonomia identificato dall'ID o uno dei suoi figli con profondità massima */
  335. $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['id'] = 'term_node_tid_depth_modifier';
  336. $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['table'] = 'node';
  337. $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['field'] = 'term_node_tid_depth_modifier';
  338. $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['exception']['title_enable'] = TRUE;
  339. $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['exception']['title'] = 'Tutti';
  340. $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['default_argument_type'] = 'fixed';
  341. $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['summary']['format'] = 'default_summary';
  342. $handler->display->display_options['arguments']['term_node_tid_depth_modifier']['specify_validation'] = TRUE;
  343. /* Criterio del filtro: Contenuto: Pubblicato o in amministrazione */
  344. $handler->display->display_options['filters']['status_extra']['id'] = 'status_extra';
  345. $handler->display->display_options['filters']['status_extra']['table'] = 'node';
  346. $handler->display->display_options['filters']['status_extra']['field'] = 'status_extra';
  347. $handler->display->display_options['filters']['status_extra']['group'] = 0;
  348. $handler->display->display_options['filters']['status_extra']['expose']['operator'] = FALSE;
  349. /* Criterio del filtro: Contenuto: Gioco in Italiano (field_localizzato) */
  350. $handler->display->display_options['filters']['field_localizzato_value']['id'] = 'field_localizzato_value';
  351. $handler->display->display_options['filters']['field_localizzato_value']['table'] = 'field_data_field_localizzato';
  352. $handler->display->display_options['filters']['field_localizzato_value']['field'] = 'field_localizzato_value';
  353. $handler->display->display_options['filters']['field_localizzato_value']['value'] = array(
  354.   'all' => 'all',
  355.   0 => '0',
  356.   1 => '1',
  357. );
  358. $handler->display->display_options['filters']['field_localizzato_value']['exposed'] = TRUE;
  359. $handler->display->display_options['filters']['field_localizzato_value']['expose']['operator_id'] = 'field_localizzato_value_op';
  360. $handler->display->display_options['filters']['field_localizzato_value']['expose']['label'] = 'Gioco in Italiano (field_localizzato)';
  361. $handler->display->display_options['filters']['field_localizzato_value']['expose']['operator'] = 'field_localizzato_value_op';
  362. $handler->display->display_options['filters']['field_localizzato_value']['expose']['identifier'] = 'field_localizzato_value';
  363. $handler->display->display_options['filters']['field_localizzato_value']['expose']['remember_roles'] = array(
  364.   2 => '2',
  365.   1 => 0,
  366.   3 => 0,
  367. );
  368. $handler->display->display_options['filters']['field_localizzato_value']['is_grouped'] = TRUE;
  369. $handler->display->display_options['filters']['field_localizzato_value']['group_info']['label'] = 'Affina la ricerca';
  370. $handler->display->display_options['filters']['field_localizzato_value']['group_info']['identifier'] = 'field_localizzato_value';
  371. $handler->display->display_options['filters']['field_localizzato_value']['group_info']['optional'] = FALSE;
  372. $handler->display->display_options['filters']['field_localizzato_value']['group_info']['default_group'] = '1';
  373. $handler->display->display_options['filters']['field_localizzato_value']['group_info']['group_items'] = array(
  374.   1 => array(
  375.     'title' => 'Tutti i giochi',
  376.     'operator' => 'not empty',
  377.     'value' => array(
  378.       'all' => 'all',
  379.     ),
  380.   ),
  381.   2 => array(
  382.     'title' => 'Solo giochi italiani',
  383.     'operator' => 'or',
  384.     'value' => array(
  385.       1 => '1',
  386.     ),
  387.   ),
  388. );
  389. /* Criterio del filtro: Contenuto: Tipologia (field_tipologia) */
  390. $handler->display->display_options['filters']['field_tipologia_tid']['id'] = 'field_tipologia_tid';
  391. $handler->display->display_options['filters']['field_tipologia_tid']['table'] = 'field_data_field_tipologia';
  392. $handler->display->display_options['filters']['field_tipologia_tid']['field'] = 'field_tipologia_tid';
  393. $handler->display->display_options['filters']['field_tipologia_tid']['value'] = array(
  394.   10 => '10',
  395.   11 => '11',
  396. );
  397. $handler->display->display_options['filters']['field_tipologia_tid']['exposed'] = TRUE;
  398. $handler->display->display_options['filters']['field_tipologia_tid']['expose']['operator_id'] = 'field_tipologia_tid_op';
  399. $handler->display->display_options['filters']['field_tipologia_tid']['expose']['operator'] = 'field_tipologia_tid_op';
  400. $handler->display->display_options['filters']['field_tipologia_tid']['expose']['identifier'] = 'field_tipologia_tid';
  401. $handler->display->display_options['filters']['field_tipologia_tid']['expose']['required'] = TRUE;
  402. $handler->display->display_options['filters']['field_tipologia_tid']['expose']['multiple'] = TRUE;
  403. $handler->display->display_options['filters']['field_tipologia_tid']['expose']['remember_roles'] = array(
  404.   2 => '2',
  405.   1 => 0,
  406.   3 => 0,
  407. );
  408. $handler->display->display_options['filters']['field_tipologia_tid']['group_info']['label'] = '(field_tipologia)';
  409. $handler->display->display_options['filters']['field_tipologia_tid']['group_info']['identifier'] = 'field_tipologia_tid';
  410. $handler->display->display_options['filters']['field_tipologia_tid']['group_info']['optional'] = FALSE;
  411. $handler->display->display_options['filters']['field_tipologia_tid']['group_info']['default_group'] = '2';
  412. $handler->display->display_options['filters']['field_tipologia_tid']['group_info']['group_items'] = array(
  413.   1 => array(
  414.     'title' => 'Browser Game',
  415.     'operator' => 'and',
  416.     'value' => array(
  417.       10 => '10',
  418.     ),
  419.   ),
  420.   2 => array(
  421.     'title' => 'Indifferente',
  422.     'operator' => 'not empty',
  423.     'value' => array(
  424.       10 => '10',
  425.       11 => '11',
  426.     ),
  427.   ),
  428.   3 => array(
  429.     'title' => 'Gioco Client',
  430.     'operator' => 'and',
  431.     'value' => array(
  432.       11 => '11',
  433.     ),
  434.   ),
  435. );
  436. $handler->display->display_options['filters']['field_tipologia_tid']['type'] = 'select';
  437. $handler->display->display_options['filters']['field_tipologia_tid']['vocabulary'] = 'tipologia';
  438. /* Criterio del filtro: Contenuto: Piattaforma (field_piattaforma) */
  439. $handler->display->display_options['filters']['field_piattaforma_tid']['id'] = 'field_piattaforma_tid';
  440. $handler->display->display_options['filters']['field_piattaforma_tid']['table'] = 'field_data_field_piattaforma';
  441. $handler->display->display_options['filters']['field_piattaforma_tid']['field'] = 'field_piattaforma_tid';
  442. $handler->display->display_options['filters']['field_piattaforma_tid']['exposed'] = TRUE;
  443. $handler->display->display_options['filters']['field_piattaforma_tid']['expose']['operator_id'] = 'field_piattaforma_tid_op';
  444. $handler->display->display_options['filters']['field_piattaforma_tid']['expose']['label'] = 'Piattaforma';
  445. $handler->display->display_options['filters']['field_piattaforma_tid']['expose']['operator'] = 'field_piattaforma_tid_op';
  446. $handler->display->display_options['filters']['field_piattaforma_tid']['expose']['identifier'] = 'field_piattaforma_tid';
  447. $handler->display->display_options['filters']['field_piattaforma_tid']['expose']['remember_roles'] = array(
  448.   2 => '2',
  449.   1 => 0,
  450.   3 => 0,
  451. );
  452. $handler->display->display_options['filters']['field_piattaforma_tid']['type'] = 'select';
  453. $handler->display->display_options['filters']['field_piattaforma_tid']['vocabulary'] = 'piattaforma';
  454.  
  455. /* Display: Page */
  456. $handler = $view->new_display('page', 'Page', 'page');
  457. $handler->display->display_options['exposed_block'] = TRUE;
  458. $handler->display->display_options['path'] = 'taxonomy/term/%';
  459.  
  460. /* Display: Feed */
  461. $handler = $view->new_display('feed', 'Feed', 'feed');
  462. $handler->display->display_options['pager']['type'] = 'full';
  463. $handler->display->display_options['pager']['options']['items_per_page'] = 15;
  464. $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Voci per pagina';
  465. $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tutto -';
  466. $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Scostamento';
  467. $handler->display->display_options['pager']['options']['tags']['first'] = '« prima';
  468. $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ precedente';
  469. $handler->display->display_options['pager']['options']['tags']['next'] = 'seguente ›';
  470. $handler->display->display_options['pager']['options']['tags']['last'] = 'ultima »';
  471. $handler->display->display_options['style_plugin'] = 'rss';
  472. $handler->display->display_options['row_plugin'] = 'node_rss';
  473. $handler->display->display_options['path'] = 'taxonomy/term/%/%/feed';
  474. $handler->display->display_options['displays'] = array(
  475.   'page' => 'page',
  476.   'default' => 0,
  477. );
  478. $translatables['taxonomy_term'] = array(
  479.   t('Master'),
  480.   t('altro'),
  481.   t('Applica'),
  482.   t('Ripristina'),
  483.   t('Ordina per'),
  484.   t('Asc'),
  485.   t('Disc'),
  486.   t('Select any filter and click on Apply to see results'),
  487.   t('Voci per pagina'),
  488.   t('- Tutto -'),
  489.   t('Scostamento'),
  490.   t('« prima'),
  491.   t('‹ precedente'),
  492.   t('seguente ›'),
  493.   t('ultima »'),
  494.   t('Tutti'),
  495.   t('%1'),
  496.   t('Gioco in Italiano (field_localizzato)'),
  497.   t('Affina la ricerca'),
  498.   t('(field_tipologia)'),
  499.   t('Piattaforma'),
  500.   t('Page'),
  501.   t('Feed'),
  502. );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top