Hi

am not sure if this is some easy task in drupal. let me explain the things in detail.

I have a site with 5 views on the top. i need to display the latest articles always on view 1. the second latest article on view 2. 3rd latest on view 3.. and so on to 5th view.

is there any way to accomplish this using views? or do we need to do some hardcoding?

thanks!
Sathish

Comments

blueminds’s picture

You would need to explicitly define which item to display (not sure if this is possible with views), or alter the limit statement of the query. For the query alteration see this: http://www.appnovation.com/using-hook-views-query-alter

Personally I would go for custom coding as the effort is approximately the same as messing around with views. But that is a matter of personal preference, because custom coding will involve also custom templates, etc.

sathu’s picture

I will try this
thank you once again!

sathu’s picture

Hi blueminds

I tried changing the offset values in the views ->Pager for each view
like for view 1 - 0, 1
for view 2 - 1,1

and it got worked!

thanks again for your reply!
cheers!