Skip to content
Snippets Groups Projects

Resolve #3320655 "Readme.txt with readme.md"

+ 39
22
NODE EXPIRE
===========
# Node Expire
This module allows you to set a "timer" into content nodes. When it reaches
zero, you can perform any type of action with the node, such as unpublishing
@@ -15,19 +14,24 @@ widget in order to make the process easier and more fun.
If using Views module, all data will be exported, allowing you to build
custom lists.
For a full description of the module, visit the
[project page](https://www.drupal.org/project/node_expire).
INSTALL
=======
Submit bug reports and feature suggestions, or track changes in the
[issue queue](https://www.drupal.org/project/issues/node_expire).
This module is not (YET at least) compatible with previous versions.
So its only indicated to new sites.
7.x branch is self-compatible and every effort will be made to keep
it in this state.
## Table of contents
- Requirements
- Installation
- Maintainers
- Rules Module Example
- Rules Module Extra Exmaples for Testing
USAGE
=====
## Requirements
The first thing you should do is give the proper permissions:
"administer node expire" will allow you to enable the feature on node types
@@ -48,8 +52,16 @@ a configuration section. It is located in "Workflow" area under Rules module
configuration section.
CREDITS
=======
## Installation
This module is not (YET at least) compatible with previous versions.
So its only indicated to new sites.
7.x branch is self-compatible and every effort will be made to keep
it in this state.
## Maintainers
Daryl Houston <daryl@learnhouston.com> (Original author)
Andrew Langland (D5-dev and D6-dev rewrite)
@@ -57,16 +69,16 @@ Bruno Massa (D6 v2 rewrite)
Nik Alexandrov (D7-dev rewrite)
RULES MODULE EXAMPLE
====================
## Rules Module Example
For those people that want to use this module quickly, import the code below on
admin/rules/ie/import and it will automatically configure it to unpublish the
content once it expires. Just paste it and have fun.
-------------------------------------------------------------------------------
"Content expired unpublish".
"Content expired unpublish".
```
{ "rules_content_expired_unpublish" : {
"LABEL" : "Content expired unpublish",
"PLUGIN" : "reaction rule",
@@ -77,10 +89,10 @@ content once it expires. Just paste it and have fun.
"DO" : [ { "node_unpublish" : { "node" : [ "node" ] } } ]
}
}
```
RULES MODULE EXTRA EXAMPLES FOR TESTING
=======================================
## Rules Module Extra Exmaples for Testing
Below are some more rules, which are handy for testing. By enabling/disabling
those rules you can publish/unpublish or promote/unpromote content
@@ -90,9 +102,10 @@ the tests to turn on an option "Allow expire date in the past" in the module
configuration section.
-------------------------------------------------------------------------------
"Content expired publish".
"Content expired publish".
```
{ "rules_content_expired_publish" : {
"LABEL" : "Content expired publish",
"PLUGIN" : "reaction rule",
@@ -103,11 +116,13 @@ configuration section.
"DO" : [ { "node_publish" : { "node" : [ "node" ] } } ]
}
}
```
-------------------------------------------------------------------------------
"Content expired remove from front page".
```
{ "rules_content_expired_remove_from_front_page" : {
"LABEL" : "Content expired remove from front page",
"PLUGIN" : "reaction rule",
@@ -117,10 +132,11 @@ configuration section.
"DO" : [ { "node_unpromote" : { "node" : [ "node" ] } } ]
}
}
```
-------------------------------------------------------------------------------
"Content expired promote to front page".
```
{ "rules_content_expired_promote_to_front_page" : {
"LABEL" : "Content expired promote to front page",
"PLUGIN" : "reaction rule",
@@ -134,3 +150,4 @@ configuration section.
]
}
}
```
Loading