[TYPO3-english] Powermail 2.x and database insertion of form values does not work (TYPO3 6.1.x)

Bert Hiddink [BENDOO e-work solutions] hiddink at bendoo.nl
Wed Oct 30 18:40:20 CET 2013


Hello,

I am using Powermail 2.x and want to insert some values of the submitted 
form into a table (tt_address). This was a working feature from 1.6.x 
but can't get it working with 2.x

Acccording the manual, the snippet which should do this:

plugin.tx_powermail {

# Save values to any table (example for tt_adress)
dbEntry {

# enable or disable db entry for tt_address
tt_address._enable = TEXT
tt_address._enable.value = 1

# write only if field email is not yet filled with current value
# (update: update values of existing entry)
# (none: no entry if field is filled)
# (disable: always add values don't care about existing values)
tt_address._ifUnique.email = disable

# add mm relation to uid 2 of tt_address_group (via mm table)
tt_address._mm = COA
tt_address._mm.10 = COA
# 1 is always the mm table
tt_address._mm.10.1 = TEXT
tt_address._mm.10.1.value = tt_address_group_mm
# 2 is always the second table (e.g. categories table)
tt_address._mm.10.2 = TEXT
tt_address._mm.10.2.value = tt_address_group
# 3 is always the uid of a data record of the second table to get a 
relation to this (in this case uid 1 of tt_address_group)
tt_address._mm.10.3 = TEXT
tt_address._mm.10.3.value = 1


# fill table "tt_address" with field "pid" with the current pid (e.g. 12)
tt_address.pid = TEXT
tt_address.pid.value =120

tt_address.addressgroup=TEXT
tt_address.addressgroup.value=1

# fill table "tt_address" with field "email" with a static value => 
mail at mail.com
tt_address.email = TEXT
tt_address.email.value = mail at mail.com

}
}

The above does not work (I test with only static values), nothing is 
inserted in tt_address while mails are send correctly.

Any ideas/pointers?

Thanks and regards,
Bert


More information about the TYPO3-english mailing list