Having some issues with 2sxc version 9.x: unable to select App/Content layout

北慕城南 提交于 2019-12-11 17:27:59

问题


I have upgraded to v. 9.1.3 and I still have the same issue that I found with previous 9.x versions, so I'm still forced to use v.8.12 .

The problem is that I am unable to select the layout of any App/Content when I insert it to the page, after inserting I only see this button:

and when I click on it , nothing happen , and two errors appear in the console:

note1: the same error happen when I install 2sxc v.9.1.3 (or any older 9.x) on new and clean DNN v.9.1 website.

note2: the same error happen when I click on the layout button (the one with glasses icon) on previously installed app from the previous 8.12 version.


回答1:


I fixed this by changing 'localhost' to be 'xlocalhost' in the var:

var
  path = window.location.pathname,
  isDevMode = window.location.hostname === 'localhost',
  apiUrl;

in the file: DesktopModules\ToSIC_SexyContent\dist\ng\ui.html

For more info, see: $2sxc is not defined



来源:https://stackoverflow.com/questions/44412446/having-some-issues-with-2sxc-version-9-x-unable-to-select-app-content-layout

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!