I used block displays on my frontpage, after update the More link disappeared. There is no error log in Recent log entries.

Is there any one who encounter this either? What information should I collect for debug?

Comments

pillow’s picture

I have tried to disalbe and enble the module, clear the cache, both don't make sense, is there anybody can help me?

merlinofchaos’s picture

The 'more' link only shows up if there are more records to display. This was always the intended behavior, but due to a bug this wasn't actually happening. I've tested this and it seems to work for me, so my guess is that you're trying to use the 'more' link when there aren't more records to display?

pillow’s picture

The value of Items to display is 5, I have tried "Use default" and "Override" method for More link, both can't chage current state.
There are 13 item in the page that block display link to.

It maybe only my problem as nobody alse ecounter this. But what shoul I try to do for resolving it now?

merlinofchaos’s picture

Hmmm. Good question. For now, can you export your view? I can take a look at it and see if I see anything; as well I can try it on my test site.

pillow’s picture

Thanks so much~ Here it is.
There are 4 displays in total, 2 are block and 2 are page, each block link to a page. But none of these two block displays has more link after updating.

$view = new view;
$view->name = 'FrontPageModel';
$view->description = 'Wayne, FrontPage display Model';
$view->tag = 'wayne';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Default', 'default');
$handler->override_option('fields', array(
  'title' => array(
    'label' => '',
    'link_to_node' => 1,
    'exclude' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'relationship' => 'none',
  ),
));
$handler->override_option('sorts', array(
  'title' => array(
    'order' => 'ASC',
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'relationship' => 'none',
  ),
));
$handler->override_option('filters', array(
  'tid' => array(
    'operator' => 'or',
    'value' => array(
      '0' => '1',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'type' => 'select',
    'vid' => '1',
    'id' => 'tid',
    'table' => 'term_node',
    'field' => 'tid',
    'hierarchy' => 1,
    'relationship' => 'none',
    'reduce_duplicates' => 0,
  ),
  'type' => array(
    'operator' => 'not in',
    'value' => array(
      'faq' => 'faq',
      'oasw' => 'oasw',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
  'sticky' => array(
    'operator' => '=',
    'value' => 1,
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'sticky',
    'table' => 'node',
    'field' => 'sticky',
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
  'role' => array(),
  'perm' => '',
));
$handler->override_option('title', 'FrontPageModel');
$handler->override_option('header_format', '1');
$handler->override_option('header_empty', 0);
$handler->override_option('footer_format', '3');
$handler->override_option('footer_empty', 0);
$handler->override_option('empty', 'I\'m coming soon~');
$handler->override_option('empty_format', '1');
$handler->override_option('use_pager', '0');
$handler->override_option('use_more', 1);
$handler->override_option('link_display', 'page_1');
$handler->override_option('style_options', array(
  'grouping' => '',
));
$handler = $view->new_display('page', 'Mail Page', 'page_1');
$handler->override_option('filters', array(
  'tid' => array(
    'operator' => 'or',
    'value' => array(
      '0' => '1',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'type' => 'select',
    'vid' => '1',
    'id' => 'tid',
    'table' => 'term_node',
    'field' => 'tid',
    'hierarchy' => 1,
    'relationship' => 'none',
    'reduce_duplicates' => 0,
  ),
  'type' => array(
    'operator' => 'not in',
    'value' => array(
      'faq' => 'faq',
      'oasw' => 'oasw',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
));
$handler->override_option('title', 'Mail');
$handler->override_option('items_per_page', 0);
$handler->override_option('path', 'mail');
$handler->override_option('menu', array(
  'type' => 'none',
  'title' => '',
  'weight' => 0,
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'weight' => 0,
));
$handler = $view->new_display('block', 'Mail Frontpage Block', 'block_1');
$handler->override_option('title', 'MailBlock');
$handler->override_option('items_per_page', 5);
$handler->override_option('use_pager', FALSE);
$handler->override_option('block_description', '');
$handler->override_option('block_caching', -1);
$handler = $view->new_display('page', 'OSmiscPage', 'page_2');
$handler->override_option('filters', array(
  'tid' => array(
    'operator' => 'or',
    'value' => array(
      '3' => '3',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'type' => 'select',
    'vid' => '1',
    'id' => 'tid',
    'table' => 'term_node',
    'field' => 'tid',
    'hierarchy' => 1,
    'relationship' => 'none',
    'reduce_duplicates' => 0,
    'override' => array(
      'button' => 'Use default',
    ),
  ),
  'type' => array(
    'operator' => 'not in',
    'value' => array(
      'faq' => 'faq',
      'oasw' => 'oasw',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
));
$handler->override_option('title', 'OSmisc');
$handler->override_option('items_per_page', 0);
$handler->override_option('path', 'OSmisc');
$handler->override_option('menu', array(
  'type' => 'none',
  'title' => '',
  'weight' => 0,
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'weight' => 0,
));
$handler = $view->new_display('block', 'OSmisc Frontpage Block', 'block_2');
$handler->override_option('filters', array(
  'tid' => array(
    'operator' => 'or',
    'value' => array(
      '3' => '3',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'type' => 'select',
    'vid' => '1',
    'id' => 'tid',
    'table' => 'term_node',
    'field' => 'tid',
    'hierarchy' => 1,
    'relationship' => 'none',
    'reduce_duplicates' => 0,
    'override' => array(
      'button' => 'Use default',
    ),
  ),
  'type' => array(
    'operator' => 'not in',
    'value' => array(
      'faq' => 'faq',
      'oasw' => 'oasw',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
  'sticky' => array(
    'operator' => '=',
    'value' => 1,
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'sticky',
    'table' => 'node',
    'field' => 'sticky',
    'relationship' => 'none',
  ),
));
$handler->override_option('title', 'OsmiscBlock');
$handler->override_option('items_per_page', 5);
$handler->override_option('link_display', 'page_2');
$handler->override_option('block_description', '');
$handler->override_option('block_caching', -1);
pillow’s picture

Status: Active » Closed (works as designed)

no bug. sticky option was enable, the amount of stickied item is less than 5.
sorry for wasting your time.