dongzhi2014 2016-07-12 00:03
浏览 19
已采纳

Silverstripe:无法从后端删除页面

Hi guys I can't seem to be able to delete pages from the admin back end. Can anyone help me understand why this is?

enter image description here

  • 写回答

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥30 BC260Y用MQTT向阿里云发布主题消息一直错误
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM
  • ¥15 划分vlan后不通了
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)