Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-07-16 10:20:19

gemal
Member
From: Copenhagen, Denmark
Registered: 2007-01-09
Posts: 107
Website

recent_articles should skip current article if callein article context

When using txp:recent_articles in an article it also list itself. Isn’t this a bug? Shouldn’t it exclude itfself if txp:recent_articles is called in a article context?

At fx
http://mads.gemal.dk/blog/29/spraellemand
the article itself is listed under “Læs også de andre seneste nyheder”

Isn’t there a way to exclude itself?

Offline

#2 2007-07-16 10:58:06

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

Re: recent_articles should skip current article if callein article context

The tag doesn’t check for context, it just makes a list (like how article_custom works), so it’s not a bug per se. It certainly could do so, though, that would probably be very useful.

Offline

#3 2007-07-16 11:56:08

gemal
Member
From: Copenhagen, Denmark
Registered: 2007-01-09
Posts: 107
Website

Re: recent_articles should skip current article if callein article context

Mary wrote:

The tag doesn’t check for context, it just makes a list (like how article_custom works), so it’s not a bug per se. It certainly could do so, though, that would probably be very useful.

Should I file a bug enhancement bug somewhere?

Offline

#4 2007-07-17 17:41:31

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

Re: recent_articles should skip current article if callein article context

We don’t have a bug tracker as of yet. This thread is enough for now.

Offline

Board footer

Powered by FluxBB