0

使用 Concrete5 8.1,当我通过单击带有工具提示“编辑此页面”(铅笔图标)的按钮将页面置于编辑模式时,页面重新加载,然后带有“+”图标的按钮出现点击事件,打开添加块面板。

我试图写得尽可能简单,以便清楚发生了什么。更专业地说,当页面在编辑模式下重新加载时,似乎会为打开块面板的按钮调用一个单击事件。除非我明确单击按钮来打开此面板,否则不应打开此面板。编辑按钮应该只将页面置于编辑模式,允许我选择现有块。

打开块面板后,我可以再次单击编辑按钮,块面板将关闭,使页面处于编辑模式。但是,第二次单击实际上应该导致页面退出编辑模式。

有没有其他人遇到过类似的问题,有解决办法吗?

谢谢

4

1 回答 1

0

Here's an answer, but it's not a fix. The concrete5 dev team confirms it's a problem in 8.1 when C5 is running from a subfolder rather than the root of the web site, e.g (as described in the issue report referenced above) as http://mycompany.com/directory rather than http://mycompany.com.

So, one potential fix is to reconfigure your website to run as the top-level site in your domain.

If that's not possible, you could patch the file CookieMiddleware.php as described in the issue description (2 lines, simple fix).

Or you could wait for the next point release (8.2). No indication from the dev team when that might be.

于 2017-06-04T22:08:16.427 回答