[Flow] using own error pages, wrong paths

Mira Frei mira at modifiziert.com
Tue Mar 10 11:55:05 CET 2015


I have edited my Settings.yaml as follows:

    error:
      exceptionHandler:
        defaultRenderingOptions: []
        renderingGroups:
          notFoundExceptions:
            matchingStatusCodes: [404]
            options:
              templatePathAndFilename: 'resource://My.Timbo/Private/Templates/Standard/error-404.html'
              layoutRootPath: 'resource://My.Timbo/Private/Layouts/'

This works so far. But the error page has wrong paths to the resources like css and js files. Example:
<link rel="stylesheet" href="https://timbo.localhost/_Resources/Static/Packages/TYPO3.Flow/media/css/timbo.css" type="text/css" media="all" />

But this file is located at https://timbo.localhost/_Resources/Static/Packages/My.Timbo/media/css/timbo.css and not in TYPO3.Flow Package.

Any ideas?

Or I can't use own error pages from my own package? This is also with translation files, flow is looking for these in TYPO3.Flow package instead of my own package.

Thanks for any hints,
Mira


More information about the Flow mailing list