Hallo Leute!
Ich habe Mailformplus im Betrieb und bräuchte Hilfe bei der Befüllung von Input-Felder. Daten sollten aus der Datenbank:tt_news kommen.
uid für die tt_news wird bereits übergeben. Aber es werden keine Daten in das Input Feld "title" geladen.
Bitte um eure Hilfe.
DANKE
Schöne Grüße
Macsea
These are the current GET/POST parameters:
Array
(
[id] => 95
[uid] => 15
[title] =>
)
Array
(
)
DB-key is set to: uid
only some filetypes are allowed: Array
file size is limitted to: 20000000
fixed values should be inserted into DB.
Array
(
[pid] => 94
[hidden] => 0
)
These fields are inserted into the DB:
Array
(
[pid] => 94
[hidden] => 0
[fe_user] =>
[category] =>
[title] =>
[short] =>
[bodytext] =>
[starttime] =>
[endtime] =>
[image] =>
)
Aber es wird nicht der Title aus der Datenbank geholt und in mein InputFeld gemappt.
plugin.tx_thmailformplus_pi1.debug=1
plugin.tx_thmailformplus_pi1 {
fieldConf {
title {
defaultValue.dataWrap = {DB:tt_news:title}|
defaultValue.wrap3 = |
defaultValue.insertData = 1
}
picture {
errorCheck = required
errorText = TEXT
errorText.value = <li>###LLL:picture###</li>
numberOfAllowedFiles = 1
}
}
saveDB = 1
saveDB {
dbTable = tt_news
fileUpload = uploads/pics/
fileTypes = jpg,jpeg,gif
fileSize = 20000000
dbinsert = pid:94,hidden:0
dbkey = uid
mapping = picture:image
#mapping
fields.feuser_uid.mapping = fe_user
fields.category.mapping = category
fields.title.mapping = title
fields.inserat_shorttext.mapping = short
fields.inserat_longtext.mapping = bodytext
fields.inserat_starttime.mapping = starttime
fields.inserat_endtime.mapping = endtime
specialMapping = 1
specialMapping.crdate = 1
}
}
temp.feuser_uid = COA
temp.feuser_uid {
11 = TEXT
11.dataWrap= <input type="hidden" name="feuser_uid" value="{TSFE:fe_user|user|uid}" /><input type="hidden" name="category" id="category" value="1" />
}
plugin.tx_thmailformplus_pi1.markers.feuser_uid < temp.feuser_uid