Skip to content

bellcom/os2intra_outdated_flag

Repository files navigation

os2intra_outdated_flag

Adds a flag type of outdated. Views for admin and block for user. Adds an expire(datetime) field, which can be added to your contenttypes. Adds a cronjobs which runs trough nodes which has the expire field, and if they are expired set the outdated flag on it.

Setup

admin/config/os2intra_outdated_flag Disable/Enable cronjob Set interval for cronjob. Use relative php date formats.

Todo

  • Make an admin interface to choose which contenttypes has an expire date field. It could either be an expire field, or a general setting like how the scheduler does it. Needs to automatically add bundles to the flag aswell. https://drupal.org/node/305086#default-flags.

  • Make it possible to not depend on field instance.

About

Adds a flag type of outdated. Views for admin and block for user.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages