Skip to content

Fluid paths cannot be overwritten with composer installation #584

Description

@svenkuhn

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions