我在typo3 8.7.19中将tt_address从3.0.3升级到了3.2.4。对我来说,问题是,后端中为人添加的图像未在前端中渲染。
我曾尝试过使用自定义打字稿。但是,当我使用自定义打字稿时,前端中什么也没渲染。
plugin.tx_ttaddress_pi1 = CONTENT
plugin.tx_ttaddress_pi1 {
table = tt_address
select {
selectFields = tt_address.name, tt_address.image, tt_address.phone, tt_address.email, sys_category.title AS groups
join = sys_category_record_mm ON (sys_category_record_mm.uid_foreign = tt_address.uid) JOIN sys_category ON (sys_category.uid = sys_category_record_mm.uid_local)
where = sys_category_record_mm.tablenames = "tt_address" AND tt_address.uid=###addressUid###
markers{
addressUid.data = GP:ts_address|showUid
addressUid.intval = 1
}
#andWhere.data = GP:ts_address|showUid
#andWhere.wrap = tt_address.uid=|
#andWhere.intval = 1
# languageField = sys_language_uid
orderBy = sys_category.uid ASC
max = 1
pidInList = 60
}
# Again we use a template and assing the required subpart
renderObj = FLUIDTEMPLATE
renderObj {
file = tt_address_new.html
variables {
name = TEXT
name.field = name
image = FILES
image{
references {
table = tt_address
uid.data = GP:ts_address|showUid
fieldName = image
}
renderObj = IMAGE
renderObj {
file.import.data = file:current:uid
file{
width = 90c
height = 100c
treatIdAsReference = 1
}
}
}
phone_text = TEXT
phone_text.value = Phone:
phone = TEXT
phone.field = phone
email_text = TEXT
email_text.value = Email:
email = TEXT
email.field = email
}
}
}
可能是什么问题?