我正在使用Extbase/Fluid为typo3 6.1.4构建一个天气小部件扩展。扩展框架是用extension_builder创建的。
我的问题是:如何将css和js文件包含到模板中?
当我试图添加一个viewHelper时,我得到了这个神秘的错误
1297645190: Ext Direct error in "TYPO3\CMS\Core\ExtDirect\ExtDirectApi" with namespace: "TYPO3"
Try to clear the TYPO3 cache and / or use paramater no_cache=
我想使用自定义视图助手在Typo3中呈现单个内容对象。
背景是我的视图帮助器在Typo3版本9中的改编。
不幸的是,我不能在这方面做进一步的工作。
下面是我的代码:
<?php
namespace XXX\XXX\ViewHelpers;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
use \TYPO3\CMS\Core\Utility\GeneralUtility;
class Cont
我是TYPO3掩码扩展的新手。我有Typo3 9.5.18和Mask 4.1.2,都是通过composer安装的。
我已经调整了我的站点包的所有路径。
当我选择“屏蔽->页面模板”时,我会看到
(1/2) #1509741912 TYPO3Fluid\Fluid\Core\ViewHelper\Exception Supplied file object type null for EXT:example_extension/Resources/Public/Images/BackendLayouts/default.gif must be File or FileReference.