I have 10 nodes and 2 views, one view named highlighted nodes, the other - other nodes

I created the concept that if a user sets one of their nodes to appear "sticky at the top of lists" then it would appear in the highlighted nodes view.

My second view outputs the rest of the nodes with an offset of 1 i.e. skipping the first node that I assumed "there will only be one" node that was set to sticky at the top of lists

My question is, how do I cater if two nodes are set to "sticky at the top of lists". Could you offer a solution?

Thanks in advance

1 Answer 1


You have to add a filter, for the view highlighted nodes:

Content: Sticky at top of lists (= Yes)

and for the view other nodes:

Content: Sticky at top of lists (= No)
  • I've decided to adjust my solution to include your answer. The original problem defines that there could only be one node in the highlighted nodes view. So if there was 2... where would the 2nd appear? Thanks for answering anyway. I was too busy looking for the answer in the "sort" section of drupal views.
    – cwiggo
    Commented Feb 23, 2017 at 12:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.