[TYPO3-english] Typoscript USER / USER_INT objects in powermail input fields

Arun Chandran arunchandran2010 at gmail.com
Wed May 13 17:14:55 CEST 2015


Hi All,

I am using typo3 version 6.2.12 and powermail 2.0.
I've problem with my configuration;


<http://stackoverflow.com/questions/30217812/typoscript-user-user-int-objects-in-powermail-input-fields#>

I've a custom extension to render a value from database. I want to prefill
the returned value of the extension using powermail prefill typoscript.

But when I add the plugin as userfunction, then it will display strange
output in frontend.

See my typoscript code below;

lib.companyname = USER_INT
lib.companyname {
        userFunc = tx_extbase_core_bootstrap->run
        extensionName = ExtPowermail
        pluginName = Extpowermail
        vendorName = TYPO3
        controller = Extpowermail
        action = list
    }

plugin.tx_powermail.settings.setup {
  prefill {
    company < lib.companyname
  }
}

Here "company" is an input type text field in powermail. In frontend the
output of the above code render like this;

<!--INT_SCRIPT.ad09b2f270243798e007be81eba0871c-->

I've changed USER_INT to USER and there is no change in the output. If
anybody knows the solution, please help.


Thanks in advance,

Arun Chandran


More information about the TYPO3-english mailing list