You are not logged in.
I’m trying to get my head around Live and Sticky articles, and I’m stumbling when it comes to determining the status of an article. What I’d like to do is run a check for if an article has the status of Sticky, like this (bogus tag used):
<p>Article is sticky.</p>
<p>Article is not sticky.</p>
I can’t see anything that might be able to extract the status from an article. How might I go about achieving this?
Thank you in advance.
There are some article fields queryable by TXP’s custom field tags, status is among them:
<txp:if_custom_field name="Status" value="5">Sticky</txp:if_custom_field>.
I was going to mention that yesterday but stopped myself at the last moment. Since it’s technically a bug (albeit a safe one), relying on it is probably not advised. But practically speaking, it’s not going away any time soon.
Last edited by Bloke (2012-06-25 12:11:48)