Forked from vijayrami/How to Change Typo3 Powermail Extension's Templates Path
Created
November 13, 2020 10:03
-
-
Save iamrobertsillo/92ff7826811f75a31320514236af7792 to your computer and use it in GitHub Desktop.
How to Change Typo3 Powermail Extension's Templates Path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From backend go into your root template (or in extension template where Powermail Extension is included). | |
| In that, in Constants Editor Add below code: | |
| plugin.tx_powermail { | |
| view { | |
| templateRootPath = EXT:yourtemplate/Resources/Private/Templates/Extensions/Powermail/Templates/ | |
| partialRootPath = EXT:yourtemplate/Resources/Private/Templates/Extensions/Powermail/Partials/ | |
| layoutRootPath = EXT:yourtemplate/Resources/Private/Templates/Extensions/Powermail/Layouts/ | |
| } | |
| } | |
| And in Setup, Add below code: | |
| plugin.tx_powermail { | |
| view { | |
| templateRootPaths > | |
| templateRootPaths { | |
| 0 = EXT:powermail/Resources/Private/Templates/ | |
| 1 = EXT:yourtemplate/Resources/Private/Templates/Extensions/Powermail/Templates/ | |
| } | |
| partialRootPaths > | |
| partialRootPaths { | |
| 0 = EXT:powermail/Resources/Private/Partials/ | |
| 1 = EXT:yourtemplate/Resources/Private/Templates/Extensions/Powermail/Partials/ | |
| } | |
| layoutRootPaths > | |
| layoutRootPaths { | |
| 0 = EXT:powermail/Resources/Private/Layouts/ | |
| 1 = EXT:yourtemplate/Resources/Private/Templates/Extensions/Powermail/Layouts/ | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment