We use the Powermail_Frontend [powermail_pi2] plugin to edit mails in the frontend for authenticated frontend users.
The form fields in the plugin powermail_pi2 use the group name "tx_powermail_pi2" (instead of "tx_powermail_pi1")
EXT:powermail_cond currently only supports forms with "tx_powermail_pi1", since the plugin name is hardcoded in PHP and JS.
The plugin name in the controller is now determined by calling \In2code\Powermail\Utility\FrontendUtility::getPluginName
The plugin name in JavaScript is not known in PowermailCondition:getFieldByMarker, so we just search for both plugin names.
We use the Powermail_Frontend [powermail_pi2] plugin to edit mails in the frontend for authenticated frontend users. The form fields in the plugin powermail_pi2 use the group name "tx_powermail_pi2" (instead of "tx_powermail_pi1") EXT:powermail_cond currently only supports forms with "tx_powermail_pi1", since the plugin name is hardcoded in PHP and JS.
The plugin name in the controller is now determined by calling
\In2code\Powermail\Utility\FrontendUtility::getPluginName
The plugin name in JavaScript is not known inPowermailCondition:getFieldByMarker
, so we just search for both plugin names.