[TYPO3] TS Syntax question: Assign value from DB Field to plugin value

Ralph Brugger news.netfielders.de at public.linkpool.de
Sat Aug 4 18:30:54 CEST 2007


Hi,

I'm trying to set the staticRecipient for the pil_mailform by TS from a
DB fe_users value.

Simple setting staticRecipient works :
 plugin.tx_pilmailform_pi1.staticRecipient = root at localhost

The field from the database can be read like this:
 uservar = TEXT
 uservar.data = DB:fe_users:1:email

But how can I assign the value of uservar to staticRecipient ?

This won't work:
plugin.tx_pilmailform_pi1.staticRecipient = uservar

Any hints?

THX!

Ralph


More information about the TYPO3-english mailing list