Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-08-16 11:54:33

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

list not displaying sticky articles

Is there any reason why an article list like this wouldn’t display a sticky article?

<txp:article_custom limit="999" form="blog_listing" section="blog" />


its a bad hen that wont scratch itself.
photogallery

Offline

#2 2009-08-16 12:22:55

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: list not displaying sticky articles

Hi Kevin

I forgot if a comma delimited list is supported in article_custom but try <txp:article_custom limit="999" form="blog_listing" section="blog" status="live,sticky" />


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2009-08-16 13:08:34

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

Re: list not displaying sticky articles

oh ok cheers colak.

no doesn’t seem to support the comma separated list.

Last edited by kvnmcwebn (2009-08-16 13:10:36)


its a bad hen that wont scratch itself.
photogallery

Offline

#4 2009-08-16 13:14:24

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

Re: list not displaying sticky articles

It would be good if there was an “all” or any “status”
<txp:article_custom limit="999" form="blog_listing" section="blog" status="all" />

edited to say that I’m doing this workaround but it’s not ideal:

<txp:article_custom limit=“999” form=“blog_listing” section=“blog” status=“sticky” />
<txp:article_custom limit=“999” form=“blog_listing” section=“blog” />

Last edited by kvnmcwebn (2009-08-16 13:22:35)


its a bad hen that wont scratch itself.
photogallery

Offline

#5 2009-08-16 14:05:56

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

Re: list not displaying sticky articles

problem solved, using category instead of status to make articles “sticky”


its a bad hen that wont scratch itself.
photogallery

Offline

Board footer

Powered by FluxBB