By joeboris on
I want to make a view which displays all nodes of a certain content type, except for the last six submitted nodes. I.e. if there are 12 nodes fulfilling the view's filtering criteria, it only shows the six oldest. Is this possible to do?
Thanks,
joeboris
Comments
id also like to know how to
id also like to know how to do this.
Try this:
Try this:
For list view:
For table view:
Cut and paste in template.php, and change VIEWNAME for the appropiate view name.
Currently there's no limit option in the UI, but you can modify views with php in the theme.
It is a generic sample code found here: http://drupal.org/node/42597
Much appreciated!
Thank you for your fast reply! It worked! I'm using Bonus Grid View, so I had to modify it slightly; I'll include the code, in case someone else needs it. It shows the view except for the four first nodes (my grid is modified to hold six nodes, so I made it fit Views Bonus' defaults).
Cheers!
joeboris