[TYPO3-english] BE Module can not locate template in 7.x

Jigal van Hemert jigal.van.hemert at typo3.org
Tue Sep 5 11:48:19 CEST 2017


Hi,

On 29/08/2017 17:13, Vikram Mandal wrote:
> On 08/24/2017 10:54 AM, Vikram wrote:

>> The template files are under
>> /typo3conf/ext/t3in_amp/Resources/Private/Templates/Backend/
[...]
>>
>> The technical reason is: No template was found. View could not be
>> resolved for action "start" in class
>> "T3IN\T3inAmp\Controller\AMPController".
>>
>> I do have the file at
>> /typo3conf/ext/t3in_amp/Resources/Private/Templates/Backend/Start.html
>>
>> regards
>> Vikram
>
> It worked when I placed by file under:
> /Resources/Private/Templates/AMP/
>
> It is like: /Resources/Private/Templates/<Controller>
>
> And the TS had no effect. May be I have some bug in the extension
> created by the extension_builder extension.
>

Did you include that static templates of your extension in the root 
template? Maybe there is an ext_typoscript_setup.txt in your extension 
which contains configuration for the paths that do work. This file is 
automatically loaded and not like normal static templates only when 
included in a root template.

These paths work, but you have to take into consideration that the 
templates live in a subdirectory with the name of the controller 
(without "Controller").

-- 
Jigal van Hemert
TYPO3 CMS Core Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-english mailing list