It doesn't fire when you set the default option to any of the "Summary, *" values. I set it to anything else, theme_views_view_list() fires.

Since it doesn't fire, I can't theme the output!

  $view = new stdClass();
  $view->name = 'headline_archives';
  $view->description = '';
  $view->access = array (
);
  $view->view_args_php = 'if ($type == \'page\' && !$arg[0]) {
  $limit = 25;
}';
  $view->page = TRUE;
  $view->page_title = 'Headlines Archive by Month';
  $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 = 'list';
  $view->url = 'headlines-archive';
  $view->use_pager = TRUE;
  $view->nodes_per_page = '12';
  $view->block = TRUE;
  $view->block_title = 'Archives';
  $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 = '12';
  $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 (
    array (
      'tablename' => 'node',
      'field' => 'created',
      'sortorder' => 'DESC',
      'options' => 'normal',
    ),
  );
  $view->argument = array (
    array (
      'type' => 'monthyear',
      'argdefault' => '6',
      'title' => '%1',
      'options' => '',
      'wildcard' => '',
      'wildcard_substitution' => '',
    ),
  );
  $view->field = array (
    array (
      'tablename' => 'node',
      'field' => 'title',
      'label' => '',
      'handler' => 'views_handler_field_nodelink',
      'options' => 'link',
    ),
    array (
      'tablename' => 'node',
      'field' => 'body',
      'label' => '',
      'handler' => 'views_handler_field_teaser',
    ),
    array (
      'tablename' => 'node',
      'field' => 'created',
      'label' => '',
      'handler' => 'views_handler_field_date_small',
    ),
  );
  $view->filter = array (
    array (
      'tablename' => 'node',
      'field' => 'status',
      'operator' => '=',
      'options' => '',
      'value' => '1',
    ),
    array (
      'tablename' => 'node',
      'field' => 'type',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'headline',
),
    ),
  );
  $view->exposed_filter = array (
  );
  $view->requires = array(node);
  $views[$view->name] = $view;

Comments

neclimdul’s picture

Category: bug » support
Priority: Normal » Minor

I think not firing that particular theme function is the expected behavior of views. A different part of views themes that page. And since this part of the Views Bonus Pack doesn't actually provide any functionality other then that already in views, I don't think its something this module can do much to fix.

It might be something we can sort out though if we get you the right theme function.

Just so we're clear, you're trying to theme the summary list of Month/Years shown that you see in the block or main page of the archive view?

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.