Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-12-19 10:16:51

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

how do you do this in 4.07?

<txp:if_individual_article>
<txp:article_custom listform=“webnav” wraptag=“ul” />
<txp:else />
<display the most recent article in this section>
</txp:if_individual_article>

-thanks
kevin


its a bad hen that wont scratch itself.
photogallery

Offline

#2 2008-12-19 12:10:33

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: how do you do this in 4.07?

I think this should do it:

<txp:if_individual_article>
<txp:article_custom listform="webnav" wraptag="ul" />
<txp:else />
<txp:article limit="1">
</txp:if_individual_article>

Edit: quotes (thanks, Els)

Last edited by maniqui (2008-12-19 17:26:01)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2008-12-19 17:08:25

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: how do you do this in 4.07?

Mind the quotes :)

<txp:article_custom listform="webnav" wraptag="ul" />

Offline

Board footer

Powered by FluxBB