Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-11-13 03:12:20

rsilletti
Moderator
From: Spokane WA
Registered: 2004-04-28
Posts: 707

ras_delete_articles

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

Plugin Link ras_delete_expired_v4.0.4.4.txt

Any feedback on this plugin would be welcome.

Offline

Board footer

Powered by FluxBB