Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-07-22 00:18:13

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Style the first article different?

I think that txp:if_first_article is only valid inside an article form.

That is correct. I believe that in svn, this is not required anymore. :)

Offline

#14 2006-07-24 08:45:58

satellite360
Member
Registered: 2006-04-24
Posts: 14

Re: Style the first article different?

juanjonavarro wrote:

I think that txp:if_first_article is only valid inside an article form. You can use this markup:
<code><div id=“headline”><txp:article limit=“1”/></div>
<div id=“recent”><txp:article limit=“2” offset=“1”/></div></code>
Hope this helps.

Many thanks – that has done the trick.

Offline

Board footer

Powered by FluxBB