我使用创建了两个扩展 Extension Builder on Typo3 8.7.17
由于某些原因,在加载一个带有概述和头文件的扩展BE页面ddl时(例如,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>
答案 0 :(得分:1)
您是否使用Fluid的后端viewhelper,在这种情况下使用f:be.pageRenderer
和f:be.container
viewhelpers?
PageRenderer:https://docs.typo3.org/typo3cms/ExtbaseGuide/Fluid/ViewHelper/Be/PageRenderer.html 容器:https://docs.typo3.org/typo3cms/ExtbaseGuide/Fluid/ViewHelper/Be/Container.html