TYPO3 RTE 样式表断开链接? [英] TYPO3 RTE Stylesheet broken link?

查看:30
本文介绍了TYPO3 RTE 样式表断开链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的页面 TS 配置中使用此打字稿向 RTE 添加样式表:

I am using this typoscript in my Page TS Config to add a stylesheet to the RTE:

RTE.default.ignoreMainStyleOverride = 1
RTE.default.contentCSS = fileadmin/templates/css/rte_formats.css

我已经完美地使用了几次,但是我正在运行 TYPO3 7.6.11 的新服务器上工作并且样式表没有链接.

I have used this several times perfectly, however I am working on a new server running TYPO3 7.6.11 and the stylesheet does not link.

如果我检查 RTE,css 文件链接到那里,但链接已损坏.

If I inspect the RTE the css file is linked there, but the link is broken.

我不知道它是否相关,但在文件列表区域中,如果我打开 css 文件的信息窗口并单击显示"按钮,我会得到 404(每个文件都会发生同样的情况,即使它们是在前端工作正常).

I don't know if it is related but in the filelist area if I open the info window for the css file and click the 'Show' button I get a 404 (the same happens for every file, even though they are working fine on the front end).

推荐答案

前端和后端需要完全可访问.不支持 server.com 无权访问 fileadmin 和 mysite.com 无权访问 typo3 的配置.这两个文件夹都包含适用于前端和后端的可用资源.

Frontend and Backend need to be completely accessible. A configuration where server.com has no access to fileadminand mysite.com with no access to typo3 is not supported. Both folders hold viable resources for Frontend and Backend.

这篇关于TYPO3 RTE 样式表断开链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆