goldinteractive/craft3-publisher
最新稳定版本:2.1.0
Composer 安装命令:
composer require goldinteractive/craft3-publisher
包简介
README 文档
README
Craft Publisher enables you to publish saved Drafts on a future date without the need to handle the cache expiration logic. The cronjob handles the publication and the cache invalidation.
It also handles entries which are to expire or published in the future correctly and will invalidate the cache.
Installation
Install using composer require goldinteractive/craft3-publisher and install in Craft.
Setup
Setup a Cron Job which runs every minute.
Call it via CLI or web:
Web:
* * * * * /usr/bin/curl --silent --compressed {siteUrl}/actions/publisher/api/publish
CLI:
* * * * * [PATH_TO_CRAFT_INSTALLATION]/craft publisher/publish
Usage
What does not work?
Currently it is not possible to have a postDate in the future and a expire date in the future at the same time. It is a possible feature for the roadmap but needs a bit of refactoring of the data model.
统计信息
- 总下载量: 9.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-11-19
