TYPO3 6.2 后端扩展

TYPO3 6.2 Backend Extension

我正在尝试使用 TYPO3 版本 6.2 构建扩展。

我在 Extension Builder 中为 6.2 构建模型。 我添加了一个后端模块,它应该在扩展管理器的后端显示数据。 效果很好,但是当我尝试单击后端时,会显示以下消息:

Sorry, the requested view was not found. The technical reason is: No template was found. View could not be resolved for action "list" in class "SeminarCas\SemCas\Controller\KontaktController".

模板位于 Resources/Private/Backend/Templates/Kontakt 下。以下是文件:Edit.html、List.html、Show.html

通常会在文件夹 EXT:sem_cas/Resources/Private/Templates/ 下的扩展程序中搜索 FLUID 模板。如果您已将后端模块的 FLUID 模板放在另一个地方,请在全局加载的打字稿中定义它,最好在 EXT:sem_cas/ext_typoscript_setup.txt 中,内容如下:

# BE Module configuration
module.tx_semcas.view {
    templateRootPath = EXT:sem_cas/Resources/Private/Backend/Templates/
    partialRootPath = EXT:sem_cas/Resources/Private/Backend/Partials/
    layoutRootPath = EXT:sem_cas/Resources/Private/Backend/Layouts/
}

我已经添加了它,现在我试图重新安装它并得到以下错误:

Please check your uploaded extension "sem_cas". The configuration file "ext_emconf.php" seems to be invalid.

这是 ext_emconf.php 文件

<?php

$EM_CONF[$_EXTKEY] = array(
    'title' => 'Seminar CAS',
    'description' => '',
    'category' => 'be',
    'author' => '',
    'author_email' => '',
    'state' => 'alpha',
    'internal' => '',
    'uploadfolder' => '0',
    'createDirs' => '',
    'clearCacheOnLoad' => 0,
    'version' => '',
    'constraints' => array(
        'depends' => array(
            'typo3' => '6.2',
        ),
        'conflicts' => array(
        ),
        'suggests' => array(
        ),
    ),
);