user3741086
user3741086

Reputation: 125

TYPO3 6.2 Backend Extension

I am trying to build an extension with TYPO3 Version 6.2.

I build the model in the Extension Builder for 6.2. I've added a backend module which should display the datas in the backend in the extension Manager. That works fine but when I tried to click on the backend then the following message is displayed:

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".

The Template is located under Resources/Private/Backend/Templates/Kontakt. Here are the Files: Edit.html, List.html , Show.html

Upvotes: 0

Views: 291

Answers (2)

user3741086
user3741086

Reputation: 125

I've added it, now i tried to reinstall it and got following error:

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

This is the ext_emconf.php file

<?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(
        ),
    ),
);

Upvotes: 0

jokumer
jokumer

Reputation: 2269

Normally FLUID templates will be searched in your extension under folder EXT:sem_cas/Resources/Private/Templates/. If you have located your FLUID templates for backend module another place, define this in a global loaded typoscript, best would be in EXT:sem_cas/ext_typoscript_setup.txt with content below:

# 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/
}

Upvotes: 2

Related Questions