gpt4 book ai didi

sitecore - 设置指定体验编辑器的上下文站点

转载 作者:行者123 更新时间:2023-12-01 06:08:04 25 4
gpt4 key购买 nike

我正在处理多站点,我想打开上下文站点的体验编辑器,但 sitecore 不解析上下文站点,它总是将我带到默认网站,sitecore.config 文件中有一个设置,我将其设置为“true”,但仍将我带到默认网站:

http://mywebsite.local/?sc_mode=edit&sc_site=website

这是sitecore.config中的设置,我的sitecore版本是8.1(更新2)

<!--  PREVIEW - RESOLVE SITE
If false, the Preview.DefaultSite setting specifies the context site to use when a user previews an item.
If true, when a user previews an item, Sitecore tries to resolve the root item and the context site based on the current content language
and the path to the item. If Sitecore cannot resolve the context site, it uses the site that is specified in the Preview.DefaultSite setting.
Default value: false (use the value of the Preview.DefaultSite setting)
-->
<setting name="Preview.ResolveSite" value="true"/>

最佳答案

我之前也遇到过这个问题,这是sitecore中的已知错误。我已经尝试过下面文章中提到的方法。 (但是,每当我在 sitecore 网站中复制新的 dll 时,我仍然会间歇性地面临这个问题。)

https://kb.sitecore.net/articles/382913

我已经将所有文件放在我的一个驱动器链接上。请在替换之前备份您现有的文件(“WebEditRibbon.aspx)

https://1drv.ms/f/s!AotVzR-_yI5ObO5-Pzq02mcx-EU

关于sitecore - 设置指定体验编辑器的上下文站点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36162381/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com