Can't get the tag cloud to work: I would like to list tags with node type as the URL argument. How would I do this? It's currently displaying full nodes...

Comments

Andrew_Mallis@drupal.org’s picture

StatusFileSize
new449 bytes

You have to set the arguments to Taxonomy:Term ID and Taxonomy:Term Name and specify the depth of the tree to traverse in tin the Option field. I have it set to 2.
There is also a bug in the module you'll have to fix.
I've submitted a patch (my first one, not sure if it's 100%)
The quick and dirty of it is to change

function theme_vbtg_weighted($terms, $url) {

to

function theme_vbtg_weighted($terms, $url) {
	$url = "taxonomy/term";

exported view:

  $view = new stdClass();
  $view->name = 'tag_cloud';
  $view->description = '';
  $view->access = array (
);
  $view->view_args_php = '';
  $view->page = FALSE;
  $view->page_title = '';
  $view->page_header = '';
  $view->page_header_format = '4';
  $view->page_footer = '';
  $view->page_footer_format = '4';
  $view->page_empty = '';
  $view->page_empty_format = '4';
  $view->page_type = 'node';
  $view->url = '';
  $view->use_pager = TRUE;
  $view->nodes_per_page = '15';
  $view->block = TRUE;
  $view->block_title = 'tag cloud';
  $view->block_header = '';
  $view->block_header_format = '4';
  $view->block_footer = '';
  $view->block_footer_format = '4';
  $view->block_empty = '';
  $view->block_empty_format = '4';
  $view->block_type = 'tag_cloud';
  $view->nodes_per_block = '40';
  $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' => '2',
      'wildcard' => '',
      'wildcard_substitution' => '',
    ),
    array (
      'type' => 'taxletter',
      'argdefault' => '6',
      'title' => '',
      'options' => '2',
      'wildcard' => '',
      'wildcard_substitution' => '',
    ),
  );
  $view->field = array (
    array (
      'tablename' => 'term_data',
      'field' => 'name',
      'label' => '',
      'handler' => 'views_handler_field_tid',
    ),
  );
  $view->filter = array (
    array (
      'tablename' => 'node',
      'field' => 'status',
      'operator' => '=',
      'options' => '',
      'value' => '1',
    ),
  );
  $view->exposed_filter = array (
  );
  $view->requires = array(term_data, node);
  $views[$view->name] = $view;
doctor1982’s picture

doctor1982’s picture

doctor1982’s picture

doctor1982’s picture

doctor1982’s picture

doctor1982’s picture

doctor1982’s picture

doctor1982’s picture

doctor1982’s picture

doctor1982’s picture

doctor1982’s picture

doctor1982’s picture

doctor1982’s picture

doctor1982’s picture

Wharly’s picture

pomliane’s picture

Status: Active » Closed (won't fix)

This version of Views Bonus Pack is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.