displaying queried elements based on their position in the view

point - July 18, 2008 - 18:08

Is it possible to display only some of the elements of the view, for example: I don't want to show all queried elements, but elements from number 4 to number 6. How to do it?

Ummm... remove those

yuriy.babenko - July 18, 2008 - 18:54

Ummm... remove those elements from the query?
Use CSS to hide them?
---
Yuriy Babenko
www.yubastudios.com
My Drupal tutorials: http://yubastudios.com/blog/tag/tutorials

You can provide a theme

nevets - July 18, 2008 - 21:00

You can provide a theme override for the view and limit what is show that way.

No, no, you didn't

point - July 19, 2008 - 18:23

No, no, you didn't understand me. I have a box on my front page which shows first three elements and have another box which shows elements from 4 to 15. I can't use NodeQueue Position as filter in my view because some of my news items should be marked as sticky and be displayed separately, ie. they are filtered out from the view so NodeQueue position is not equivalent to view position.

Consider it is easy to write

nevets - July 19, 2008 - 19:07

Consider it is easy to write a view so it returns items 1-15, with theming you can drop items 1-3 from the view. (this does not depend node NodeQueue

 
 

Drupal is a registered trademark of Dries Buytaert.