How to retract content after expiration date

后端 未结 2 1694
说谎
说谎 2020-12-21 13:12

one of our customers is using in their site third party content that must be unavailable after one month because of license restrictions.

in this specific case expir

相关标签:
2条回答
  • 2020-12-21 13:36

    collective.autopublishing can publish / retract content based on effective/expiration date, or a custom date field. Using a cron or clockserver trigger to search for content to retract or publish. See https://github.com/collective/collective.autopublishing

    0 讨论(0)
  • 2020-12-21 13:36

    To me this is screaming for a contentrule (really like them) and collective.contentrules.comingsoon claims to be able to do what you want, since of version 1.1 passing the index-parameter is possible. Don't get distracted of the initial naming of the product. I haven't tested this but the authors are well known for good prods. For me for sure. And the latest release is quite fresh, which hints, it was used with newer Plone-versions.

    0 讨论(0)
提交回复
热议问题