2条回答 默认 最新
- dongnan1989 2016-07-12 00:42关注
Archiving is the new way to delete pages in SilverStripe 3.2
Deleting pages never actually deleted them in older versions of the CMS and this wording was often confusing for CMS users because they could then go and see these "deleted" pages later (by browsing deleted pages).
Another issue commonly encountered was that there was little clarity between Delete from draft and delete from live, so these have basically been removed and instead we now have "Archive" (delete from both live and draft and hide away) or "unpublish" (delete from live).
The wording and behaviour was updated to make things simpler as often the need to delete from live but NOT from draft was very limited.
The old behaviour can be brought back by changing the config setting like so:
CMSMain: enabled_legacy_actions: - CMSBatchAction_DeleteFromLive - CMSBatchAction_Delete
You can read more about the discussion around this on the PR that brought in the changes: https://github.com/silverstripe/silverstripe-framework/pull/4189 and https://github.com/silverstripe/silverstripe-cms/pull/1203
Further upgrade guidance here: https://docs.silverstripe.org/en/3.2/changelogs/3.2.0/#revert-to-legacy-cms-page-actions
Original ticket: https://github.com/silverstripe/silverstripe-cms/issues/631
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 python验证码滑块图像识别
- ¥15 QT6颜色选择对话框显示不完整
- ¥20 能提供一下思路或者代码吗
- ¥15 用twincat控制!
- ¥15 请问一下这个运行结果是怎么来的
- ¥15 单通道放大电路的工作原理
- ¥30 YOLO检测微调结果p为1
- ¥15 DS18B20内部ADC模数转换器
- ¥15 做个有关计算的小程序
- ¥15 如何用MATLAB实现以下三个公式(有相互嵌套)