Skip to main content
removed "Drupal" and tags from the title
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

Drupal 8 + Context - How can I display a block on view page, excluding paginated/paged/pager output pages?

I'm trying to use Context to display a block on a Viewsview page path eg, e.g. /view/view, but exclude it from the paged output, ege.g. /view?page=1 but the/view?page=1. The path exclusion tools in Drupal 8 don't work with the query string (and no query string rules are available).

There's a Drupal 7 solution  (hack?) for this posted here:

on How can I show a block in a view page, excluding its paginated pages?

Any help to get something like this in Drupal 8 working would be appreciated. Thanks.

Issue createdThe issue on Drupal.org: is https://www.drupal.org/project/context/issues/2930896.

Drupal 8 + Context - How can I display a block on view page, excluding paginated/paged/pager output pages

I'm trying to use Context to display a block on a Views page path eg. /view but exclude it from the paged output, eg. /view?page=1 but the path exclusion tools in Drupal 8 don't work with the query string (and no query string rules are available).

There's a Drupal 7 solution(hack?) for this posted here:

How can I show a block in a view page, excluding its paginated pages?

Any help to get something like this in Drupal 8 working would be appreciated. Thanks.

Issue created on Drupal.org: https://www.drupal.org/project/context/issues/2930896

How can I display a block on view page, excluding paginated/paged/pager output pages?

I'm trying to use Context to display a block on a view page path, e.g. /view, but exclude it from the paged output, e.g. /view?page=1. The path exclusion tools in Drupal 8 don't work with the query string (and no query string rules are available).

There's a Drupal 7 solution  (hack?) for this posted on How can I show a block in a view page, excluding its paginated pages?

Any help to get something like this in Drupal 8 working would be appreciated.

The issue on Drupal.org is https://www.drupal.org/project/context/issues/2930896.

Source Link

Drupal 8 + Context - How can I display a block on view page, excluding paginated/paged/pager output pages

I'm trying to use Context to display a block on a Views page path eg. /view but exclude it from the paged output, eg. /view?page=1 but the path exclusion tools in Drupal 8 don't work with the query string (and no query string rules are available).

There's a Drupal 7 solution(hack?) for this posted here:

How can I show a block in a view page, excluding its paginated pages?

Any help to get something like this in Drupal 8 working would be appreciated. Thanks.

Issue created on Drupal.org: https://www.drupal.org/project/context/issues/2930896