英文:
"Update modified date" not enabled by default
问题
这更多是关于更新修改日期的问题,如下所示。
为什么 Episerver 将此默认设置为未选中?我理解经常保存内容时更新修改日期没有意义,但在发布内容时不应该是这种情况。
问题是:
1- 为什么它默认为即使在发布事件上也不更新?
2- 如果我必须更改此设置,我必须明确转到每个单独的内容并检查该属性(参见图2)。 是否有任何设置可以全局启用它。 另外,全局启用此设置会对现有项目产生什么影响? 更像是建议这样做吗? 如果不是,有没有其他选择?
感谢任何意见。
英文:
This is more of a question on the Update Modified Date as given below.
Why does Episerver has this default setting as unchecked? I understand with saving content frequently it makes no sense to update Modified date but that shouldn't be the case when publishing content.
So the question is:
1- Why is it defaulted to be not updated even on published event?
2- If I have to change the setting, I have to explicitly go to each individual content & check the property(refer image 2). Is there any setting to enable it globally. Also ,what are the implications to the existing items when we enable this setting globally? More like is it advisable to do that? If not ,is there any alternatives to this?
Any input is appreciated.
答案1
得分: 1
“Changed”属性仅在复选框被选中时更新。
这个想法是让网络编辑器有意识地决定更改是否实际上构成了内容更新(例如对于一个页面上显示“上次更新”日期的文章)。
如果网络编辑器只是更改了一个拼写错误,那么内容不一定会被认为已更新。
如果您只关心页面版本何时保存,无论它是否被认为是“已更改”,您仍然有一个单独的“Saved”属性。
Changed
属性:https://world.optimizely.com/csclasslibraries/cms/EPiServer.Core.PageData?version=12#EPiServer_Core_PageData_Changed
Saved
属性:https://world.optimizely.com/csclasslibraries/cms/EPiServer.Core.PageData?version=12#EPiServer_Core_PageData_Saved
英文:
The Changed
property is only updated when the checkbox is checked.
The idea is for the web editor to make a conscious decision as to whether a change actually constitutes a content update (for example for an article where the "last updated" date is displayed on the page).
If the web editor just changes a typo, the content wouldn't necessarily be considered updated.
You still have a separate Saved
property if you're just interested in when the page version was saved, regardless of whether it was considered changed or not.
Changed
property: https://world.optimizely.com/csclasslibraries/cms/EPiServer.Core.PageData?version=12#EPiServer_Core_PageData_Changed
Saved
property:
https://world.optimizely.com/csclasslibraries/cms/EPiServer.Core.PageData?version=12#EPiServer_Core_PageData_Saved
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论