Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295308

Add views area plugin to display a link to another view display within the same view

$
0
0

Problem/Motivation

This issue is created to solve #2981044: [PP-1] Unify the grid/table views of the media library in a more generic way. There are a lot of situations where site builders would like an alternative way to display the current view results, specially when presenting content in a very visual way with a large thumbnails. One example is displaying a grid view and table view of the same content.

Proposed resolution

Create a new area plugin where you can link view displays together. We only allow a display to be linked if:

  • It is a page display
  • It has the same filter criteria
  • It has the same sort criteria
  • It has the same contextual filters
  • It has the same pager settings

We render links to the other displays in the view area and pass the exposed input/arguments/pager when a link is clicked. This would mean you get the exact same result, but showed differently.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 295308

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>