modx只显示html代码,不显示模板
我已经安装了 ModX 并在 Extensionmanager 中下载了“基本”模板!我在资源的第一页选择了基本模板!我找不到全局设置来选择模板?我的问题是,如果我访问该网站,我只能看到显示的纯 html 代码,没有网站!这是为什么呢?
I have installed ModX and Downloaded the "Basic" Template in the Extensionmanager! I chose the Basic Template at my first Page for the Resource! I cant find a Globalsetting to choose an Template? My problem is that if iam going to the site i only get the pure html code shown, no website! Why is this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
AFAIK 没有“全局设置”来选择模板。 MODX 的好处之一是每个资源都可以指定要使用的模板。所以你可以根据需要混合搭配。
AFAIK there is no "Globalsetting" to choose a template. One of the nice things with MODX is that each resource can specify which template to use. So you can mix and match as required.
您可以检查是否已在 head 中设置基本 href 标记,如下所示:
它将告诉网站从哪里开始查找您已包含在标记中的其他文件。
You could check if you have set the base href tag in head like this:
It will tell the site where to start looking for the other files that you have included in your markup.