linawolf / form_double_opt_in

TYPO3 Extension adding Double Opt-In to the TYPO3 CMS Form Framework
12 stars 18 forks source link

Override of template location and and language in TypoScript not working #15

Closed danielkoch closed 1 year ago

danielkoch commented 2 years ago

I'm using version 1.1.2 with TYPO3 version 9.5.28 and try to override some extension settings:

plugin.tx_formdoubleoptin_doubleoptin {
    view {
        templateRootPaths.10 = EXT:my-new-path/Resources/Private/Templates
        partialRootPaths.10 = EXT:my-new-path/Resources/Private/Partials
        layoutRootPaths.10 = EXT:my-new-path/Resources/Private/Layouts
    }
    persistence {
        storagePid = {$plugin.tx_formdoubleoptin_doubleoptin.persistence.storagePid}
    }
    settings {

    }

    _LOCAL_LANG {
        default {
            email.text = Some new text for default language.
        }
    }

    _LOCAL_LANG {
        de {
            email.text = Ein wenig neuer Text für deutsch.
        }
    }
}

Both, template location and language strings are not working.

linawolf commented 1 year ago

@danielkoch overriding the templates should work with 3.0.0 However please note that email templates have to be overridden in the yaml file, not in typoscript

@danielkestler I believe this ticket can be closed