TYPO3 ver.: 8 如何正确自定义felogin扩展 [英] TYPO3 ver.: 8 How to properly customize felogin extension

查看:23
本文介绍了TYPO3 ver.: 8 如何正确自定义felogin扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想自定义felogin(前端lofin)扩展模板.我想将模板文件复制到我的模板扩展文件夹中,但我不知道如何使用 TypoScript 更改路径,因此 Typo3 可以先查看位于我的扩展模板文件夹中的模板文件.

提前致谢!丹尼斯

解决方案

对于 TYPO3 ver.: 10.x 可以在 TypoScript 模板的 Setup 字段中设置

plugin.tx_felogin_login {看法 {templateRootPaths.20 = EXT:your_extension/Resources/Private/Templates/partialRootPaths.20 = EXT:your_extension/Resources/Private/Partials/layoutRootPaths.20 = EXT:your_extension/Resources/Private/Layouts/}}

I would like to customize felogin (frontend lofin) extension template. I would like to copy the template file inside of my template extension folder, but I don´t know how to change the path with TypoScript, so Typo3 can look first into the template file which is located inside of my extension template folder.

Thanks in advance! Denis

解决方案

For TYPO3 ver.: 10.x it could be set in Setup field of your TypoScript template as well.

plugin.tx_felogin_login {
  view {
    templateRootPaths.20 = EXT:your_extension/Resources/Private/Templates/
    partialRootPaths.20 = EXT:your_extension/Resources/Private/Partials/
    layoutRootPaths.20 = EXT:your_extension/Resources/Private/Layouts/
  }
}

这篇关于TYPO3 ver.: 8 如何正确自定义felogin扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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