official documentation에 따르면, 당신은이 방법으로 수행 할 수 있습니다 나는 또한 발견
plugin.tx_powermail.settings.setup {
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 = update
# fill table "tt_address" with field "pid" with the current pid (e.g. 12)
tt_address.pid = TEXT
tt_address.pid.data = TSFE:id
# fill table "tt_address" with field "tstamp" with the current time as timestamp (like 123456789)
tt_address.tstamp = TEXT
tt_address.tstamp.data = date:U
# fill table "tt_address" with field "name" with the value from powermail {firstname}
tt_address.name = TEXT
tt_address.name.field = firstname
...
}
}
을 (이상) 사용자 세션 데이터를 사용 예제와 함께 (독일어) forum post :
# table "tt_address" with field "last_name" is the value from powermail (tt_content uid 88) field uid18 (###uid18###)
tt_address.last_name = TEXT
tt_address.last_name.data = TSFE:fe_user|sesData|powermail_88|uid18
그래,하지만 양식의 입력 값 중 하나의 값으로 "emaiL"필드를 채우려면 어떻게해야합니까? 내가 원한 것에 가장 가까운 것은 마지막 예제이지만, "firstname"은 무엇인지 알지 못합니다. –
그것은 작동하지 않았다. 이것은 입력의 이름 속성입니다 : "tx_powermail_pi1 [uid71]"그리고 이것은 제가 사용했던 라인입니다 : "tt_address.email.field = tx_powermail_pi1 [uid71]"... –
'tt_address.name.field = uid71 '? 내가 링크 된 문서와 포럼 게시물을 읽었습니까? – Michael