Zum Inhalt springen

Newsletteranmeldung mit Powermail 2.0 und tt_address in Typo3 Version 6

Erstellt am 26. April 2013 · Noch keine Antworten

Tags: Powermail, tt_address, TYPO3 6, Frage

andy-man ·

Hallo,
ich möchte über das Powermail-Formular nur den Namen und die Emailadresse in die tt_adress-Datenbank einfügen.
dafür nutze ich folgendes TS

plugin.tx_powermail_pi1 {

# extern db entry (example for tt_adress)

dbEntry {

# hier wird mittels checkbox festgelegt ob der user sich beim newsletter anmelden möchte
tt_address._enable = TEXT
tt_address._enable.data = TSFE:fe_user|sesData|powermail_13|uid10|0

# 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 other table

tt_address._mm.10.2 = TEXT
tt_address._mm.10.2.value = tt_address_group

# 3 is always the uid of the other table to get a relation to this (in this case uid2 of tt_address_group)

tt_address._mm.10.3 = TEXT
tt_address._mm.10.3.value = 1


# table "tt_address" with field "pid" is the current pid (e.g. 12)
#Ordner wo Adressen gespeichert werden sollen.
tt_address.pid = TEXT
tt_address.pid.value = 31

#Nachname
tt_address.last_name = TEXT
tt_address.last_name.data = TSFE:fe_user|sesData|powermail_13|uid8

#email
tt_address.email = TEXT
tt_address.email.data = TSFE:fe_user|sesData|powermail_13|uid9

}

}

Leider werden die Daten nicht in tt_address eingebunden.

powermail_13 = 13 ist die uid des Inhaltselementes
Die Adressgruppe - Newsletter - hat die UID 01

Wo liegt da mein Fehler?

Danke andy-man