Create a page view of last 30 nodes

grove101 - June 26, 2008 - 03:58

Hi,

I have a view "Recent Articles" which has a block and a page. The block is limited to display 10 articles in a list view and the page displayed in a table view. All is working well all I want to do is in the page view I want to display only the last 30 articles/nodes in the page view. I tried the $limit = 30 in the argument handeling code but this displays 30 nodes in the block and in the page view.

Any idea how to achive this ?

Regards
G

There is an option 'Nodes

archard - June 26, 2008 - 04:05

There is an option 'Nodes per block' and 'Node per page'. Just set them each to their respective values.

I've already done that but I

grove101 - June 26, 2008 - 04:20

I've already done that but I want to display only 30 nodes and not pagination, so the user cannot view the next 30 nodes.

p.s. thx for the quick reply

Untick the 'Use Pager?'

archard - June 26, 2008 - 04:46

Untick the 'Use Pager?' option

That was so simple.... Now I

grove101 - June 27, 2008 - 02:39

That was so simple.... Now I feel like a silly person :P

 
 

Drupal is a registered trademark of Dries Buytaert.