Breaking

Wednesday, January 29, 2020

How to Change Typo3 Powermail Extension's Templates Path to fileadmin , Typo3 9.5.13, Powermail 7.4

First you need to add this line in typo3 constant 




plugin.tx_powermail {

        view {

                templateRootPath = fileadmin/Resources/Private/Templates/Extension/Powermail/Templates/
                partialRootPath = fileadmin/Resources/Private/Templates/Extension/Powermail/Partials/
                layoutRootPath = fileadmin/Resources/Private/Templates/Extension/Powermail/Layouts/
        }
}


you can change this path  to your own extension like Ext:extension/Resource


Now second step You need to add following line in setup 

plugin.tx_powermail {
view {
templateRootPaths {
0 = EXT:powermail/Resources/Private/Templates/
1 = {$plugin.tx_powermail.view.templateRootPath}
}
partialRootPaths {
0 = EXT:powermail/Resources/Private/Partials/
1 = {$plugin.tx_powermail.view.partialRootPath}
}
layoutRootPaths {
0 = EXT:powermail/Resources/Private/Layouts/
1 = {$plugin.tx_powermail.view.layoutRootPath}
}
}
}

ok done, Now you can check by add test text and test it ..It will work 

Thank you for visiting my blog 

No comments:

Post a Comment

your suggestion are welcome by me