Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluid paths cannot be overwritten with composer installation #584

Open
svenkuhn opened this issue Nov 29, 2024 · 0 comments
Open

Fluid paths cannot be overwritten with composer installation #584

svenkuhn opened this issue Nov 29, 2024 · 0 comments

Comments

@svenkuhn
Copy link

svenkuhn commented Nov 29, 2024

Bug Report

Current Behavior
When I try to extend the paths for layouts, partials and templates in my composer installation, it still accesses the files from tt_address and not my own.

My setup.typoscript

plugin.tx_ttaddress {
    view {
        templateRootPaths {
            400 = EXT:tvg/Resources/Private/Templates/Address/
        }
        partialRootPaths {
            400 = EXT:tvg/Resources/Private/Partials/Address/
        }
        layoutRootPaths {
            400 = EXT:tvg/Resources/Private/Layouts/Address/
        }
    }
}

My active TypoScript
grafik

Expected behavior/output
In the frontend, the file under EXT:tvg/Resources/Layouts/Layouts/Address/List.html should be rendered, not the one under EXT:tt_address/Resources/Private/Templates/List.html

Environment

  • TYPO3 version(s): 13.4.1
  • tt_address version: 9.0.1
  • Is your TYPO3 installation set up with Composer (Composer Mode): yes
  • OS: Linux

Additional context
Even if the paths under 0 and 1 in TypoScript are deleted, the default files are still rendered. Only if you rename the file under /vendor/friendsoftypo3/tt-address/Resources/Private/Templates/Address/List.html to _List.html, for example, will the custom files be used.

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

No branches or pull requests

1 participant