Example delete_articles · Nov 12, 08:26 pm by Rick Silletti
The delete articles plugin provides admin side capability to delete articles according to an expiration date set in a custom field named expire . It has the capabilty to automate the process whenever the user selects the Content tab, or to set the preference to delete by active step with a link on the Write tab. The perference is set under Extensions -> Auto Delete .
Tags included with this plugin are as follows:
<txp:ras_expiration_date />
which returns the expiration date set on each article’s expire field (if set) as part of an article form. It is a variation of TXP’s Posted tag and uses the same attributes.
class
format
gmt
lang
wraptag
<txp:ras_if_expire>
which returns true if an article has an entry in its expire field. This tag uses a conditional wraptag and accepts an else clause.
<txp:ras_set_article_status />
which actively alters an article’s Status if the entry in the article’s expire field has been reached or exceeded. It accepts a status attribute which lists article status numerically as follows.
1 : Draft
2 : Hidden
3 : Pending
4 : Live
5 : Sticky
Furthermore ·
Requires TXP 4.0.4
Commenting is closed for this article.

