Project

General

Profile

Actions

Bug #98650

closed

Can't extend felogin template TYPO3 11.5.17 PHP 8.1

Added by Wilfrid Marie over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
-
Start date:
2022-10-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello,

I'm using TYPO3 11.5.17 with PHP 8.1

I have been trying to extend the felogin template so i add my custom modifications. This is the typoscript that i added for example :

In the template object browser it is well taken into account but the EXT:felogin template is still used (my modifications in FE don't appear)

I have tried many things but i can't seem to overwrite the configuration for these root paths.

Let me know if i am doing something wrong. Thanks !


Files

Actions #1

Updated by Chris Müller over 1 year ago

  • Category set to felogin
Actions #2

Updated by Ralph Brugger over 1 year ago

Maybe try like this:

plugin.tx_felogin_login {
    view {
        templateRootPaths >
        templateRootPaths {
            0 = EXT:felogin/Resources/Private/Templates/
            10 = templates/extensions/felogin/Templates/
        }
        partialRootPath >
        partialRootPaths {
            10 = EXT:felogin/Resources/Private/Partials/
            30 = templates/extensions/felogin/Partials/
        }
    }
}

Actions #3

Updated by Torben Hansen over 1 year ago

  • Status changed from New to Closed

Make sure, that you use plugin.tx_felogin_login.view.templateRootPath in TypoScript constants and not in TypoScript setup. Then the template override works as expected with the default TypoScript from the extension.

Since this is no bug in TYPO3 core, I'm closing this issue now. If you still have problems to override the templates, please post your question on TYPO3 slack platform or Stackoverflow.

Actions

Also available in: Atom PDF