Hi,

There aren't options to override page with other parameter on links of Format and Pager section in View UI.

For example: I create a view with Grid format. Now, I want to create 2 pages in this view:

- Page 1: Show 4 columns
- Page 2: Show 3 columns

It is missing option For: All pages and This page (override)

This function is available in Drupal 7

Thank you.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lehoa85 created an issue. See original summary.

lehoa85’s picture

Priority: Normal » Major
Issue summary: View changes
Issue tags: +Override block
lehoa85’s picture

Any update? I think it's very important function of view.

cilefen’s picture

Issue tags: -Override page, -Override block +Needs issue summary update, +Needs steps to reproduce

I cannot reproduce the bug you described. I created a view with two grid pages and I was able to override the settings for each page. I am tagging this issue "Needs issue summary update" and "Needs steps to reproduce".

There seems to be something missing in your report about what is missing in the Views UI.

cilefen’s picture

Status: Active » Postponed (maintainer needs more info)
lehoa85’s picture

FileSize
192.53 KB
165.31 KB
lehoa85’s picture

Hi @cilefen,

I have attached 2 files:

Pic1: Click on Settings link in Format => No option for override

Pic2: Click on Content in Show link => Display option for override

Thank you.

lehoa85’s picture

Hello @cilefen,

Have you checked my attached file about problem above? I think it is a important function in view which ready in Drupal 7 but not drupal 8.0.3

Again, I will explain more detail about that:

I would like to create create a view contain 2 pages Grid format which one show 3 columns and one shows 4 columns. My steps are:

1. Create a view page Grid format show 3 columns (ex: path is page1)
2. Add new page from this view and change to 4 columns in grid settings. (ex: path is page2)

When I have done step 2, page1 will be overriden by settings of page2. It mean, page1 now show 4 columns.

P/S: I don't want to create 2 views for this purpose.

Thank you.

Devestaaron’s picture

I'm having this same issue. I want to have two view blocks with different pager options. It was an option in Drupal 7, but not in 8, so I'll need to create a second view entirely instead of just adding a block.

This happens on any drupal 8 site for me, out of the box.

ABaier’s picture

I noticed the exact same behavior today. I created a view page with a four column grid and pager offset 2 and added a corresponding block with two columns to show the first two teasers of this list. From D7 I was so used to this, that it took me a while to see that the format options were set globally. This feature should really come back to D8.

dkre’s picture

I believe this is a UI regression / change in behaviour from D7 Views to D8 Views?

The view override options are set at the parent now, meaning that the settings for the format and pager will apply based on the form parent.

Eg. FORMAT:
Unformatted List > For: 'All Displays (except overridden)' | Settings > This will also apply to all

This is also true for format > show options.

Coming from D7 we expect to see the override options dropdown for settings/items etc as we did with D7 Views. This does also present a UI issue for new users also because you can be overriding all displays without any indication of why.

I recommend adding a simple bit of helper text to let users know how their setting change will applied. Ideally this should be a replication of the "Apply (All displays/This display)" submit button behaviour currently used on forms where the override dropdown is available.

Alteratively an addition to the form item label to indicate there is an override in place (rather than just italics). This would indicate that it is both items and presents a differentiated method for D7 website builders.

FORMAT
Format (Overridden): Unformatted List | Settings

Robin van Emden’s picture

I can confirm this issue. I don't know whether this has been the result of a design choice, or of an accidental regression. Either way, I'd much prefer to restore the option to override pager and format settings on a per-display basis. This would not just re-enable a very useful feature - it would also restore UI consistency.

Version: 8.0.2 » 8.0.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

pameeela’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)
Issue tags: +Bug Smash Initiative
FileSize
37.87 KB
34.21 KB
34.22 KB

Thanks for reporting this issue. We rely on issue reports like this one to resolve bugs and improve Drupal core.

As part of the Bug Smash Initiative, we are triaging issues that are marked "Postponed (maintainer needs more info)".

I was able to create a view with two pages, each using the Grid format, with different settings. The way to do this is to select 'This block (override)' for the format and then you can apply different settings (the settings will only apply to this display if the override option is selected for the format):

Page 1 settings:

Page 2 settings:

As a result, I'm marking this "Closed (works as designed)".

If anyone can provide complete steps to reproduce the issue (starting from "Install Drupal core"), document those steps in the issue summary and set the issue status back to "Active".

Thanks!