Hello,

I have configured a Views page for an specific type of content. Then I also created a views-block to promote that content. My problem is that it doesn't show the READ MORE link, when it's configured to do so. I didn't change anything in the templates (I used just CSS), so I undestand it should be there... but it just isn't.

Comments

dawehner’s picture

can you please export your view? its easier to test then.

dresde’s picture

StatusFileSize
new3.13 KB

Sure, sorry, I didn't think about that. In the attached file is the block view. I'm sure it has to be something I'm missing, but I can't find it.

Thanks.

rameshrr’s picture

With views to see the more link there should be a page view as well, having a block view alone is not sufficient, you must have a block and page view to see the more link on the block view. Hope this helps

-Ramesh

jgottshall’s picture

Category: support » bug

I'm seeing the same problem in views 2.4 and 2.5, but only with views that having a grouping field. Here's an example:

$view = new view;
$view->name = 'standings_page';
$view->description = 'Landing page for standings';
$view->tag = 'standings';
$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', 'Defaults', 'default');
$handler->override_option('relationships', array(
  'field_league_nid' => array(
    'label' => 'League',
    'required' => 0,
    'delta' => -1,
    'id' => 'field_league_nid',
    'table' => 'node_data_field_league',
    'field' => 'field_league_nid',
    'relationship' => 'none',
  ),
));
$handler->override_option('fields', array(
  'field_team_place_value' => array(
    'label' => '',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
    ),
    'link_to_node' => 0,
    'label_type' => 'none',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_team_place_value',
    'table' => 'node_data_field_team_place',
    'field' => 'field_team_place_value',
    'relationship' => 'none',
  ),
  'title' => array(
    'label' => 'Team',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
    ),
    'link_to_node' => 1,
    'exclude' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'relationship' => 'none',
  ),
  'field_team_wins_value' => array(
    'label' => 'Record',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
    ),
    'link_to_node' => 0,
    'label_type' => 'custom',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_team_wins_value',
    'table' => 'node_data_field_team_wins',
    'field' => 'field_team_wins_value',
    'relationship' => 'none',
  ),
  'field_team_losses_value' => array(
    'label' => 'Losses',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
    ),
    'link_to_node' => 0,
    'label_type' => 'widget',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_team_losses_value',
    'table' => 'node_data_field_team_losses',
    'field' => 'field_team_losses_value',
    'relationship' => 'none',
  ),
  'field_team_ties_value' => array(
    'label' => 'Ties',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
    ),
    'link_to_node' => 0,
    'label_type' => 'widget',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_team_ties_value',
    'table' => 'node_data_field_team_ties',
    'field' => 'field_team_ties_value',
    'relationship' => 'none',
  ),
  'field_team_rpi_value' => array(
    'label' => 'RPI',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
    ),
    'link_to_node' => 0,
    'label_type' => 'widget',
    'format' => 'us_2',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_team_rpi_value',
    'table' => 'node_data_field_team_rpi',
    'field' => 'field_team_rpi_value',
    'relationship' => 'none',
  ),
  'field_league_short_value' => array(
    'label' => '',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
    ),
    'link_to_node' => 0,
    'label_type' => 'none',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 1,
    'id' => 'field_league_short_value',
    'table' => 'node_data_field_league_short',
    'field' => 'field_league_short_value',
    'relationship' => 'field_league_nid',
  ),
));
$handler->override_option('sorts', array(
  'field_league_short_value' => array(
    'order' => 'ASC',
    'delta' => -1,
    'id' => 'field_league_short_value',
    'table' => 'node_data_field_league_short',
    'field' => 'field_league_short_value',
    'relationship' => 'field_league_nid',
  ),
  'field_team_place_value' => array(
    'order' => 'ASC',
    'delta' => -1,
    'id' => 'field_team_place_value',
    'table' => 'node_data_field_team_place',
    'field' => 'field_team_place_value',
    'relationship' => 'none',
  ),
  'field_team_rpi_value' => array(
    'order' => 'DESC',
    'delta' => -1,
    'id' => 'field_team_rpi_value',
    'table' => 'node_data_field_team_rpi',
    'field' => 'field_team_rpi_value',
    'relationship' => 'none',
  ),
  'field_team_wins_value' => array(
    'order' => 'DESC',
    'delta' => -1,
    'id' => 'field_team_wins_value',
    'table' => 'node_data_field_team_wins',
    'field' => 'field_team_wins_value',
    'relationship' => 'none',
  ),
  'field_team_losses_value' => array(
    'order' => 'ASC',
    'delta' => -1,
    'id' => 'field_team_losses_value',
    'table' => 'node_data_field_team_losses',
    'field' => 'field_team_losses_value',
    'relationship' => 'none',
  ),
));
$handler->override_option('filters', array(
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'team' => 'team',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
  'field_team_place_value' => array(
    'operator' => 'not empty',
    'value' => array(
      'value' => '',
      'min' => '',
      'max' => '',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'field_team_place_value',
    'table' => 'node_data_field_team_place',
    'field' => 'field_team_place_value',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('title', 'Current Standings');
$handler->override_option('empty', '<span class="no-data-available">Standings are not yet available</span>');
$handler->override_option('empty_format', '2');
$handler->override_option('items_per_page', 0);
$handler->override_option('style_plugin', 'table');
$handler->override_option('style_options', array(
  'grouping' => 'field_league_short_value',
  'override' => 1,
  'sticky' => 1,
  'order' => 'desc',
  'columns' => array(
    'field_league_nid' => 'field_league_nid',
    'field_team_place_value' => 'field_team_place_value',
    'title' => 'title',
    'field_team_wins_value' => 'field_team_wins_value',
    'field_team_losses_value' => 'field_team_wins_value',
    'field_team_ties_value' => 'field_team_wins_value',
    'field_team_rpi_value' => 'field_team_rpi_value',
    'field_league_short_value' => 'field_league_short_value',
  ),
  'info' => array(
    'field_league_nid' => array(
      'separator' => '',
    ),
    'field_team_place_value' => array(
      'sortable' => 0,
      'separator' => '',
    ),
    'title' => array(
      'sortable' => 1,
      'separator' => '',
    ),
    'field_team_wins_value' => array(
      'sortable' => 0,
      'separator' => '-',
    ),
    'field_team_losses_value' => array(
      'sortable' => 0,
      'separator' => '',
    ),
    'field_team_ties_value' => array(
      'sortable' => 0,
      'separator' => '',
    ),
    'field_team_rpi_value' => array(
      'sortable' => 1,
      'separator' => '',
    ),
    'field_league_short_value' => array(
      'sortable' => 0,
      'separator' => '',
    ),
  ),
  'default' => '-1',
));
$handler->override_option('row_options', array(
  'inline' => array(
    'field_league_nid' => 'field_league_nid',
    'field_team_losses_value' => 'field_team_losses_value',
    'field_team_place_value' => 'field_team_place_value',
    'field_team_rpi_value' => 'field_team_rpi_value',
    'field_team_ties_value' => 'field_team_ties_value',
    'field_team_wins_value' => 'field_team_wins_value',
    'title' => 'title',
  ),
  'separator' => '',
));
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->override_option('path', 'standings');
$handler->override_option('menu', array(
  'type' => 'normal',
  'title' => 'Standings',
  'description' => '',
  'weight' => '0',
  'name' => 'menu-main-menu',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'description' => '',
  'weight' => 0,
));
$handler = $view->new_display('block', 'Block', 'block_1');
$handler->override_option('fields', array(
  'field_team_place_value' => array(
    'label' => '',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
    ),
    'link_to_node' => 0,
    'label_type' => 'none',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_team_place_value',
    'table' => 'node_data_field_team_place',
    'field' => 'field_team_place_value',
    'relationship' => 'none',
  ),
  'title' => array(
    'label' => 'Team',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
    ),
    'link_to_node' => 1,
    'exclude' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'relationship' => 'none',
  ),
  'field_team_wins_value' => array(
    'label' => 'Record',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
    ),
    'link_to_node' => 0,
    'label_type' => 'custom',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_team_wins_value',
    'table' => 'node_data_field_team_wins',
    'field' => 'field_team_wins_value',
    'relationship' => 'none',
  ),
  'field_team_losses_value' => array(
    'label' => 'Losses',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
    ),
    'link_to_node' => 0,
    'label_type' => 'widget',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_team_losses_value',
    'table' => 'node_data_field_team_losses',
    'field' => 'field_team_losses_value',
    'relationship' => 'none',
  ),
  'field_team_ties_value' => array(
    'label' => 'Ties',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
    ),
    'link_to_node' => 0,
    'label_type' => 'widget',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_team_ties_value',
    'table' => 'node_data_field_team_ties',
    'field' => 'field_team_ties_value',
    'relationship' => 'none',
  ),
  'field_team_rpi_value' => array(
    'label' => 'RPI',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
    ),
    'link_to_node' => 0,
    'label_type' => 'widget',
    'format' => 'us_2',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 1,
    'id' => 'field_team_rpi_value',
    'table' => 'node_data_field_team_rpi',
    'field' => 'field_team_rpi_value',
    'relationship' => 'none',
    'override' => array(
      'button' => 'Use default',
    ),
  ),
  'field_league_short_value' => array(
    'label' => '',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
    ),
    'link_to_node' => 0,
    'label_type' => 'none',
    'format' => 'default',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 1,
    'id' => 'field_league_short_value',
    'table' => 'node_data_field_league_short',
    'field' => 'field_league_short_value',
    'relationship' => 'field_league_nid',
  ),
));
$handler->override_option('filters', array(
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'team' => 'team',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
  'field_team_place_value' => array(
    'operator' => '<=',
    'value' => array(
      'value' => '8',
      'min' => '',
      'max' => '',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'field_team_place_value',
    'table' => 'node_data_field_team_place',
    'field' => 'field_team_place_value',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('use_more', 1);
$handler->override_option('block_description', 'Top Standings');
$handler->override_option('block_caching', -1);
jgottshall’s picture

StatusFileSize
new16.68 KB

I'm seeing the same problem in views 2.4 and 2.5, but only with views that having a grouping field. Here's an example:

no2e’s picture

I've got the same problem with Views 6.x-2.5.

I created a page and a block display. I set More link: Yes in the block display. But the "More" link is not shown (whether in preview mode nor on the site).
I don't use any kind of "Grouping". Which might be other settings that could influence it?

(The "More" link works at other View on the same installation, though)

rameshrr’s picture

do you have the page view link to an actual page?

dresde’s picture

mmm may be my problem is that the PAGE view is created with a diferent view, since I wanted it like the default page... is it posible to have a views block liking with the "readmore" to a diferent viewspage?

osopolar’s picture

subscribing! I need this too.

edit: You may use the footer text for this purpose.

lindsayo’s picture

How would I make this link to the particular blog entry, as that is dynamic? I can make it link to the blog rather easily.

liquidcms’s picture

i have the same issue as #8, my page views are different than my block views.

i guess i need to move all my page displays into same view as my block displays.. hmm.. cool if we could export/import displays.. maybe with a little cut/paste??

mortenson’s picture

subscribing...

dawehner’s picture

mmm may be my problem is that the PAGE view is created with a diferent view, since I wanted it like the default page... is it posible to have a views block liking with the "readmore" to a diferent viewspage?

Why do you not use another page display, for displaying the full page?

I suggets you to try to set $view->override_path = 'pagepath';
I didn't tryed it out, but I think its worth to try out.

dawehner’s picture

Status: Active » Fixed

I think this is fixed then.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

brianhinkley’s picture

Issue tags: +more link

I was having trouble with my more link.

Do I have a Page View? Of course I don't. I do now. Works like a charm.

Exactly what I needed.

Thanks.

DEWELK’s picture

Title: Views doesnt show READ MORE link in blocks » How to show READ MORE link in blocks
Category: bug » support
Status: Closed (fixed) » Active

Hi,

I'm using bluemasters as theme and wonders me how I can show up the read more buttons in the blocks.

Can someone please put me on track ?

Regards,

Kris.

jkingsnorth’s picture

Status: Active » Closed (fixed)
StatusFileSize
new18.54 KB

I'm assuming you are using Fields in the View that creates your block. Add a 'Content: Link' field to the View that is producing you block. Turn off the label and set the 'Text to display' to be 'Read more' - as per the attached screenshot.

Also the original issue isn't really related to your question, so it would have been better to start a new support request I think - so I'm marking this as closed (fixed) again.