Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-21 12:27:19

Gallex
Member
Registered: 2006-10-08
Posts: 1,287

how to remove "Recent articles" from a top of a linklist?

my homepage . on right column.

Offline

#2 2006-10-21 13:43:22

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

Re: how to remove "Recent articles" from a top of a linklist?

What does the tag look like that you’ve got there?

Offline

#3 2006-10-22 09:42:03

Gallex
Member
Registered: 2006-10-08
Posts: 1,287

Re: how to remove "Recent articles" from a top of a linklist?

Els wrote:

What does the tag look like that you’ve got there?

oh sorry, here :

<h2>Viimased uudised</h2>
<txp:recent_articles limit="5" break="li" wraptag="ul" sortby="Posted" sortdir="desc" />

Last edited by Gallex (2006-10-22 09:48:17)

Offline

#4 2006-10-22 09:52:45

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: how to remove "Recent articles" from a top of a linklist?

Please add the attribute label="" to the recent_articles tag.

Offline

#5 2006-10-22 11:02:52

Gallex
Member
Registered: 2006-10-08
Posts: 1,287

Re: how to remove "Recent articles" from a top of a linklist?

Sencer wrote:

Please add the attribute label="" to the recent_articles tag.

aa…just empty attribute! now it works, thaks!

Offline

#6 2006-10-22 11:08:56

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

Re: how to remove "Recent articles" from a top of a linklist?

TextBook says default is empty for the label attribute, but it actually is ‘Recent articles’.

Offline

#7 2006-10-22 12:00:47

Gallex
Member
Registered: 2006-10-08
Posts: 1,287

Re: how to remove "Recent articles" from a top of a linklist?

Els wrote:

TextBook says default is empty for the label attribute, but it actually is ‘Recent articles’.

yes, in new ver. (4.0.4) it is.
but, how to skip it displaying first two recent articles? i want it to start from third, is it possible?

Offline

#8 2006-10-22 19:20:20

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

Re: how to remove "Recent articles" from a top of a linklist?

I don’t think you can with <txp:recent_articles />. Use <txp:article_custom /> instead. Customizing txp:recent_articles.

Offline

Board footer

Powered by FluxBB