Skip to content

Conversation

@kosimas
Copy link

@kosimas kosimas commented Apr 9, 2025

The backend module is currently not functional and generates this error:

TYPO3Fluid\Fluid\View\Exception\InvalidTemplateResourceException

Tried resolving a template file for controller action "Default->Index" in format ".html", but none of the paths contained the expected template file (Default/Index.html). The following paths were checked: /var/www/html/vendor/typo3/cms-backend/Resources/Private/Templates/, /var/www/html/vendor/t3docs/blog-example/Resources/Private/Templates/ 

I tested the module in Typo3 13.4.

@froemken
Copy link
Contributor

froemken commented Apr 10, 2025

Hi @kosimas

Thank you very much for your patch and for your effort to improve blog_example. I really appreciate your contribution!

However, after reviewing the issue more closely, I believe the underlying problem is broader and shouldn't be addressed with a quick patch. Specifically, defining template paths in ext_typoscript_setup.typoscript is no longer supported, and having a Backend subfolder in all three folders (Templates, Partials, Layouts) isn't ideal either — especially since TYPO3 v12 introduced a much better way to override backend module template paths.

To address this properly, I’ve submitted a separate PR: #162 that aims to restructure the entire templating setup. That change still needs discussion and review before it can be merged, but I believe it's the more sustainable direction.

Thanks again for your help and understanding!

Stefan

@froemken froemken closed this Apr 10, 2025
@froemken froemken self-assigned this Apr 10, 2025
@froemken froemken self-requested a review April 10, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants