Search code examples
typo3typoscripttypo3-8.xpowermailtypo3-8.7.x

TYPO3 - include a powermail form via typoscript


In sys folder [31] I've created a powermail form with uid=3 ... but how do I include it in a partial with typoscript?

lib.powermailmyform = CONTENT
lib.powermailmyform {
    select.pidInList = 3
}

... in Fluid-Template Show.html:

<f:cObject typoscriptObjectPath="lib.powermailmyform" />

And set Constants:

plugin.tx_powermail.settings.misc.addQueryString=1

Solution

  • If you want to add a powermail form in a very special way via TypoScript (e.g. for an implementation on every page), you should add a powermail plugin (with all needed settings in FlexForm) in a page (sysfolder is ok) and render this content element via cObject CONTENT.