Joel Bradbury
made this addon


Overview


Require Expiry

Force your entry expiry

Download 1.6.x, Version (1.1) or get it from github

Every entry in expression engine has a start date. It’s something you can rely on. By default it’s set to the time that the entry was created, but you can change it whenever you please. Entries can also have expiry dates, but by default this is left blank (after all most of the time we don’t want entries to expire).

On occasions we want to be able to force the user to choose an expiry date for entries within a certain weblog/section/channel etc., and that’s exactly what this extension does. It adds a per weblog setting where you can force the user to add an expiry for all new entries.

Installation

  1. Download and unpack JB Require Expiry (also on github)
  2. Copy extensions/ext.jb_require_expiry.php to your /system/extensions directory
  3. Copy language/english/lang.jb_require_expiry.php to your /system/language/english directory

Usage

First activate the JB Require Expiry extension from System Administration > Utilities > Extensions Manager.

The settings for each weblog are found in the respective weblog settings. Go to Weblog Administration > Weblog Management > Edit Weblog Preferences and you’ll find the option to require an expiry for that weblog. By default it’s set to off, but you can turn it on if you want.

Support

Support and feature requests are handled via github.

Changelog

1.1
Minor fixes for certain edge cases
1.0
Initial Release

Web Statistics