Zum Inhalt springen

mailformplus storeid - Wie gehts?

Erstellt am 29. April 2008 · Noch keine Antworten

Tags: Frage

ralphle ·

Hallo liebes Forum,
ich benutze die mailformplus-Extension und möchte die ID des Datensatzes auslesen. Dazu kann man ja das ganze in der Datenbank speichern.
Hier mein CODE.
Speziell geht es mir um die "storeid = datenbankfeld" und dem Abspeicher der UID in der CSV - Datei, so dass ic hdas dann mit dem marker ###db_uid### wieder auslesen kann.
Hat jemand für mich einen TIPP, was hier falsch sein könnte? Ich muss doch die Feldnamen der entsprechendne Tabelle verwenden, oder bin ich auf dem Holzeg?

plugin.tx_thmailformplus_pi1.saveDB = 1
plugin.tx_thmailformplus_pi1.saveDB {
    dbTable = tt_address

    # change .96. to an existing page-ID in your TYPO3 project
    dbinsert=pid:541,hidden:0

    # if dbkey is not set: "uid" is taken
    dbkey = uid

    # enable special mappings
    specialMapping = 1
    specialMapping {

        # store submission datetime in format YYYY-MM-DD HH:SS
        #sub_datetime = [fieldname]

        # set timestamp (submission time) to field crdate
        crdate = 1

        # store submission IP to field
        logIP = description

        # store uid to a second field (reference).
        # Enables storage in CSV as well and
        # activates marker ###DB_UID### in E-Mails
        storeuid = company
    }    

    # [inputFieldName]:[DBName]
    mapping=

Grüße Ralph