Zum Inhalt springen

Newsletteranmeldung mit Powermail und dann Adressgruppen zuordnen

Erstellt am 2. Mai 2011 · Noch keine Antworten

Tags: Powermail, tt_address, Frage

saturn ·

hallo

ich habe nach dem eintrag #8616011 das powermail für die newsletteranmeldung werwenden können.

läuft perfekt!

aber nun benötige ich 4 adressgruppen um 4 verschiedene newsletter zu versenden.

ich schaffe es leider nur alle anmeldungen einer gruppe zuzuordnen.

hatte hier schon wer das problem?

hoffe auf info!

danke!

plugin.tx_powermail_pi1.dbEntry {
  tt_address._enable = TEXT

  #UID11 = UID der Newsletter Checkbox  
  tt_address._enable.if.isTrue.data = TSFE:fe_user|sesData|powermail_766|uid171|0
  tt_address._enable.value = 1

  
# 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  
....