[RISOLTO] Views su menu

1 contenuto / 0 new
[RISOLTO] Views su menu

Ho creato dei prodotti con il modulo e-commerce, ora, tramite le views dovrei visualizzare il contenuto filtrato delle suddette categorie; il fatto e' che le views non si visualizzano, o meglio, qualsiasi link venga selezionato riporta sempre lo stesso risultato.
Nel menu dovrei avere i seguenti collegamenti:
Prodotti --> Auto --> Citroen
Prodotti --> Auto --> Peugeot
Prodotti --> Auto --> Renault
Prodotti --> Auto --> Altri
Ad ogni modello di auto corrisponde una propria views.
Le views sono identiche per ogni categoria fatto salvo del nome che cambia, citroen, peugeot, renault, altro.
Dopo tanta confusione nel messaggio (spero di essere stato abbastanza chiaro :P), vi chiedo: che link devo inserire al menu per visualizzare la views?
Visto che ci sono, vi chiedo anche un'altra cosa:
I prodotti vengono visualizzati uno di seguito all'altro, come faccio a separarli, magari inserendo una semplice tabella?

$view = new view;
$view->name = 'ec_product_citroen';
$view->description = 'Elenco prodotti Citroen';
$view->tag = 'Prodotti Citroen';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE;
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
  'title' => array(
    'label' => '',
    'link_to_node' => 1,
    'exclude' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'teaser' => array(
    'label' => '',
    'exclude' => 0,
    'id' => 'teaser',
    'table' => 'node_revisions',
    'field' => 'teaser',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'price' => array(
    'label' => '',
    'exclude' => 0,
    'id' => 'price',
    'table' => 'ec_product',
    'field' => 'price',
    'relationship' => 'none',
    'override' => array(
      'button' => 'Override',
    ),
  ),
  'checkout_links' => array(
    'label' => '',
    'exclude' => 0,
    'id' => 'checkout_links',
    'table' => 'ec_product',
    'field' => 'checkout_links',
    'relationship' => 'none',
  ),
));
$handler->override_option('sorts', array(
  'title' => array(
    'order' => 'ASC',
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'relationship' => 'none',
  ),
));
$handler->override_option('filters', array(
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'relationship' => 'none',
  ),
  'ptype' => array(
    'operator' => 'in',
    'value' => array(
      'citroen' => 'citroen',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'ptype',
    'table' => 'ec_product',
    'field' => 'ptype',
    'relationship' => 'none',
  ),
  'is_product' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'label' => 'Is product',
    'type' => 'yes-no',
    'not' => 0,
    'exclude' => 0,
    'id' => 'is_product',
    'table' => 'ec_product',
    'field' => 'is_product',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('cache', array(
  'type' => 'none',
));
$handler->override_option('title', 'Prodotti');
$handler->override_option('style_plugin', 'grid');
$handler->override_option('style_options', array(
  'grouping' => '',
  'columns' => '1',
  'alignment' => 'vertical',
));
$handler->override_option('row_options', array(
  'inline' => array(),
  'separator' => '',
));
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->override_option('path', 'products');
$handler->override_option('menu', array(
  'type' => 'normal',
  'title' => 'Products',
  'description' => '',
  'weight' => '0',
  'name' => 'navigation',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
));

Quote:

Ho risolto, bastava solo cambiare il path in $handler->override_option('path', 'products');. Avevo clonato una view esistente e non mi ero accorto di questo particolare. Scusate.... :P