[TYPO3-english] Powermail prefill errors [solved]

Tony Lush tlush at advancewm.com
Thu Jan 12 18:11:32 CET 2012


The following worked, as long as the "Fill out this field with fe_user 
field" is *not* completed in the Powermail flex form.

plugin.tx_powermail_pi1 {
	prefill {
		# name prefill
		uid41 = TEXT
		uid41.data = TSFE:fe_user|user|name
		uid41.wrap = |

		# email prefill
		uid51 = TEXT
		uid51.data = TSFE:fe_user|user|email

		# ... other fields here

		# zip prefill
		uid45 = TEXT
		uid45.data = TSFE:fe_user|user|zip

		# fill field uid46 with current date
		# like "Date: 20.01.2009"
		uid46 = TEXT
		uid46.data = date:U
		uid46.strftime = Date: {$plugin.powermail.format.date}

		# fill field uid50 with IP address of the user
		uid50 = TEXT
		uid50.data = getIndpEnv:REMOTE_ADDR
}

Regards -- Tony


More information about the TYPO3-english mailing list