Typo3 自定义扩展列表视图 BE 模板未加载 header
Typo3 Custom Extension list view BE template doesnt load header
我已经使用创建了两个扩展
Extension Builder 在 Typo3 8.7.17
出于某种原因,当加载一个带有概述的扩展 BE 页面 ddl 和 Header 文件被加载(即 bootstrap / CSS 等),但是在另一个模块上只有代码因为扩展视图已加载并且加载时没有 Bootstrap / CSS / jQuery 等文件。
大家有什么想法
列表代码如下?
<html xmlns:f="https://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="Default" />
This Template is responsible for creating a table of domain objects.
If you modify this template, do not forget to change the overwrite settings
in /Configuration/ExtensionBuilder/settings.yaml:
Resources:
Private:
Templates:
List.html: keep
Otherwise your changes will be overwritten the next time you save the extension in the extension builder
<f:section name="content">
Listing
<f:for each="{requests}" as="request">
<div>Stuff</div>
</f:for>
</f:section>
您是否使用 Fluid 的后端 viewhelper,在本例中为 f:be.pageRenderer
和 f:be.container
viewhelper?
页面渲染器:https://docs.typo3.org/typo3cms/ExtbaseGuide/Fluid/ViewHelper/Be/PageRenderer.html
容器:https://docs.typo3.org/typo3cms/ExtbaseGuide/Fluid/ViewHelper/Be/Container.html
我已经使用创建了两个扩展 Extension Builder 在 Typo3 8.7.17
出于某种原因,当加载一个带有概述的扩展 BE 页面 ddl 和 Header 文件被加载(即 bootstrap / CSS 等),但是在另一个模块上只有代码因为扩展视图已加载并且加载时没有 Bootstrap / CSS / jQuery 等文件。
大家有什么想法
列表代码如下?
<html xmlns:f="https://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="Default" />
This Template is responsible for creating a table of domain objects.
If you modify this template, do not forget to change the overwrite settings
in /Configuration/ExtensionBuilder/settings.yaml:
Resources:
Private:
Templates:
List.html: keep
Otherwise your changes will be overwritten the next time you save the extension in the extension builder
<f:section name="content">
Listing
<f:for each="{requests}" as="request">
<div>Stuff</div>
</f:for>
</f:section>
您是否使用 Fluid 的后端 viewhelper,在本例中为 f:be.pageRenderer
和 f:be.container
viewhelper?
页面渲染器:https://docs.typo3.org/typo3cms/ExtbaseGuide/Fluid/ViewHelper/Be/PageRenderer.html 容器:https://docs.typo3.org/typo3cms/ExtbaseGuide/Fluid/ViewHelper/Be/Container.html