Hi All I'm trying to use views and by using the argument to create a block listing available terms with post count

But somehow the URL seems to be wrong..

Instead of URLs like this

http://www.example.com/beta/taxonomy/term/5

it's cut short like this

http://www.example.com/beta//5

I think I know where the problem is. I have the following argument

type: Term ID
Default: Summary sorted as view
Title, Options, Wildcard, Wildcard Sub: blank

The thing is I don't know what to put inside those options. Mind you I've read the manual several times but it doesn't get into my head. I've also tried finding relevant in this site help but none seems to help me. One argument handler even crashed the drupal site. Luckily I have backups..

Can anyone please help me? Thanks

Anyway here's the export results

  $view = new stdClass();
  $view->name = 'categories_list';
  $view->description = '';
  $view->access = array (
);
  $view->view_args_php = '';
  $view->page = FALSE;
  $view->page_title = '';
  $view->page_header = '';
  $view->page_header_format = '1';
  $view->page_footer = '';
  $view->page_footer_format = '1';
  $view->page_empty = '';
  $view->page_empty_format = '1';
  $view->page_type = 'node';
  $view->url = '';
  $view->use_pager = TRUE;
  $view->nodes_per_page = '10';
  $view->block = TRUE;
  $view->block_title = '';
  $view->block_header = '';
  $view->block_header_format = '1';
  $view->block_footer = '';
  $view->block_footer_format = '1';
  $view->block_empty = '';
  $view->block_empty_format = '1';
  $view->block_type = 'list';
  $view->nodes_per_block = '99';
  $view->block_more = FALSE;
  $view->block_use_page_header = FALSE;
  $view->block_use_page_footer = FALSE;
  $view->block_use_page_empty = FALSE;
  $view->sort = array (
  );
  $view->argument = array (
    array (
      'type' => 'taxid',
      'argdefault' => '6',
      'title' => '',
      'options' => '',
      'wildcard' => '',
      'wildcard_substitution' => '',
    ),
  );
  $view->field = array (
    array (
      'tablename' => 'term_node_1',
      'field' => 'name',
      'label' => '',
      'options' => 'link',
    ),
  );
  $view->filter = array (
    array (
      'tablename' => 'node',
      'field' => 'status',
      'operator' => '=',
      'options' => '',
      'value' => '1',
    ),
  );
  $view->exposed_filter = array (
  );
  $view->requires = array(term_node_1, node);
  $views[$view->name] = $view;

Comments

ass45sin’s picture

Figured it out ^_____________^

ToshoFreny’s picture

Please can you share what you did? It might help others having the same problem.

Loving Life,
Tosho Freny,