I have 2 Powermail forms on a page and one needs a custom receiverMail template. How can I specify what template file to use based on the plugin instance?
My best guess would be to do something like this:
plugin.tx_powermail {
view {
templateRootPath >
templateRootPath {
10 = EXT:powermail/Resources/Private/Templates/
20 = CASE
20 {
key.field = uid
default = fileadmin/template/powermail/Templates/
123 = fileadmin/template/powermail/Templates2/
}
}
}
}
Using the uid of the form element this doesn't work.