Skip first entry in Drupal Views Query?

I created a view that selects all nodes of the shoot type. But I want him to select all the nodes of the "shoot" type, EXCEPT for the first record. So, if the normal result is:

Node 1 Node 2 Node 3 

I want

 Node 2 Node 3 Node 4 

Is it possible?

+4
source share
2 answers

Yes - under Items to display put 1 in the offset field.

+9
source

Yes, setting the offset = 1. The offset sets the number of missing elements. For example, if this field is 3, the first 3 elements will be skipped and will not be displayed.

For Drupal 6: In the "Elements" section to display position 1 in the offset field.

For Drupal 7:

Under the pager, click the second link. It probably looks like "Paged, X Items, ...". From there you can set the offset.

+3
source

Source: https://habr.com/ru/post/1310643/


All Articles