Bug #15282
closedadditional template in same page leads to "Error! No template found!"
0%
Description
The creation of a second template in the same page as the root level template leads to "Error! No template found!" in the Frontend. The same way, as their would not be any root level template.
The error can simply be reproduced in the quickstart-3.8.0 bundle.
Just creating an empty new template in the FC Bigfeed page, clearing the caches and trying to view any page from the side in the browser. The message "Error! No template found!" appears. After deleting the empty template, everything works fine again. The error appears, too, if the new templated is created by the "Add new basis template" button in the include basic section of the whole template view for the root level template.
(issue imported from #M2041)
Updated by Sebastian Kurfuerst almost 19 years ago
what should happen in this case?
Greets, Sebastian
Updated by Rick Janda almost 19 years ago
Nothing should happen. The page should just work as before.
But the creation of further templates, that will be included from the root template, is useful in order to split larger templates into handy pieces.
The issue seems to be appeared with 3.8. I have a 3.7 installation with several included templates in the page of the root level template, that works fine.
Greets, Rick
Updated by Karsten Dambekalns almost 19 years ago
This is a "user error". TYPO3 uses the first template found on a page. SImply change the order of the templates (using the list module) and it'll work. This is expected and correct behaviour, no bug.