Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-17 14:14:57

alittle116
Member
From: Brooklyn
Registered: 2005-09-14
Posts: 72
Website

4 most recent articles, with different forms

I would like to display the four most recent articles with excerpts. However the 1st most recent article will use a different form than than the 2nd, 3rd, 4th most recent articles.

I would assume I need to create two article lists. But how do i specify an article list to display 3 most recent article not including the single most recent?

Is there another way to go about this?

Thanks!

Offline

#2 2006-08-17 14:48:57

reid
Member
From: Atlanta, Ga.
Registered: 2004-04-04
Posts: 224
Website

Re: 4 most recent articles, with different forms

alittle116 wrote:

But how do i specify an article list to display 3 most recent article not including the single most recent?

<code>
<txp:article limit=“3” offset=“1” />
</code>

&nbsp;

From the tag attributes found here.


TextPattern user since 04/04/04

Offline

#3 2006-08-17 14:49:41

alittle116
Member
From: Brooklyn
Registered: 2005-09-14
Posts: 72
Website

Re: 4 most recent articles, with different forms

offset! great, thanks!

Offline

Board footer

Powered by FluxBB