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.