Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-05-22 23:00:50

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,263
GitHub

Sticky articles exempt from <txp:next_title /> & <txp:prev_title /> ?

Hi. I’ve got a template that will happily display an article content (title, body, excerpt, custom field etc) when it’s live, but not when it’s sticky. When it’s sticky the title, and custom fields are outputted, but the body is not displayed. I’m using <txp:body /> to output the article, and that works when it’s live, but not when it’s sticky.

Related to this, the <txp:next_title /> and <txp:prev_title /> do not include sticky articles. Is there anything to exclude sticky articles from the <txp:next_title /> and <txp:prev_title />?

Thanks in advance.

Pete

Offline

#2 2009-05-23 12:21:37

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,263
GitHub

Re: Sticky articles exempt from <txp:next_title /> & <txp:prev_title /> ?

Actually, I think I’m just being an idiot with my markup. Sorry about that :)

Last edited by gaekwad (2009-05-23 12:29:00)

Offline

Board footer

Powered by FluxBB