TYPO3 - 有没有(简单的)方法来查看静态模板的内容? [英] TYPO3 - Is there an (easy) way to view the content of static templates?

查看:29
本文介绍了TYPO3 - 有没有(简单的)方法来查看静态模板的内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 TYPO3 中,您通常需要从扩展中包含静态模板"以使扩展工作.

然而,在 TYPO3 后端似乎没有办法查看这些静态模板中实际上是什么打字稿.

我的问题是:有没有办法在不浏览扩展源代码的情况下查看这些静态模板的内容?

解决方案

模板"模块仅适用于 TypoScript 模板 (1).在模块内,您可以从功能菜单 (2) 中选择模板分析器".在此模块中,您可以选择静态模板,例如形式扩展 (3).这将显示常量和设置 (4).

使用 Composer 设置时,您可能需要

In TYPO3 you often need to include "Static Templates" from an extension to make the extension work.

However, it seems there is no way in TYPO3 backend to see what typoscript is actually inside these static templates.

My question is: is there a way to view the contents of these static templates without browsing the extension's sources codes?

解决方案

The "Template" module is only there for TypoScript Templates (1). Within the module you can select "Template Analyzer" from the function menu (2). Within this module you can select the static template, e.g. of form extension (3). This will display constants and setup (4).

When using a composer setup, you might need to require typo3/cms-tstemplate.

这篇关于TYPO3 - 有没有(简单的)方法来查看静态模板的内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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