[TYPO3-german] powermail & tt_address - Newsletter An- und -Abmeldung

Daniel Mönig daniel at thefreeman.de
Tue Jun 28 14:17:04 CEST 2011


Hallo zusammen!

Ich benutze powermail & tt_address, um Daten aus einem Formular in die
tt_address-Tebellen zu schreiben.
Das klappt super. 

ABER, wie kann ich per Formular Einträge auch wieder entfernen?
Habt Ihr dazu eine Idee?

Folgendes Script verwende ich für die Einträge:

plugin.tx_powermail_pi1 {
 
  dbEntry {
 
    tt_address._enable = TEXT
    tt_address._enable.value = 1
 
    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
    
    tt_address.email = TEXT
    tt_address.email.data = TSFE:fe_user|sesData|powermail_26|uid45
    
    tt_address.pid = TEXT
    tt_address.pid.value = 124
    
    tt_address.tstamp = TEXT
    tt_address.tstamp.data = date:U
    
    tt_address.address = TEXT
    tt_address.address.data = date:U
    
    tt_address.address.strftime = Date: %d.%m.%Y
    
    tt_address.name = COA
    tt_address.name {
      10 = TEXT
      10.value =  
      10.dataWrap =
{TSFE:fe_user|sesData|powermail_26|uid43}|{TSFE:fe_user|sesData|powermail_26
|uid44}
      10.insertData = 1
      # 20 = TEXT
      # 20.data = TSFE:fe_user|sesData|powermail_26|uid44
    }
    
    tt_address.first_name = TEXT
    tt_address.first_name.data = TSFE:fe_user|sesData|powermail_26|uid43
    
    tt_address.last_name = TEXT
    tt_address.last_name.data = TSFE:fe_user|sesData|powermail_26|uid44
    
    # tt_address.company = TEXT
    # tt_address.company.data = TSFE:fe_user|sesData|powermail_26|uid7
    
  }
}

Lieben Gruß, Daniel



More information about the TYPO3-german mailing list