这是滑动对数图像的打字稿。但它在TyYPO3 9.5.15上不起作用
page.meta {
og:image.stdWrap.typolink {
parameter.stdWrap {
cObject = IMG_RESOURCE
cObject.file {
treatIdAsReference = 1
import {
data = levelfield:-1, og_image, slide
if.isFalse.field = og_image
}
height = 650
width = 1200c
}
}
returnLast = url
forceAbsoluteUrl = 1
}
og:image:url.stdWrap.typolink {
parameter.stdWrap {
cObject = IMG_RESOURCE
cObject.file {
treatIdAsReference = 1
import {
data = levelfield:-1, og_image, slide
if.isFalse.field = og_image
}
height = 650
width = 1200c
}
}
returnLast = url
forceAbsoluteUrl = 1
}
}可能的原因是什么。请帮帮忙。
发布于 2020-04-22 15:00:18
您需要将该字段声明为rootlinefield。
转到ADMIN TOOLS -> Settings -> Configure Installation-Wide Options -> [FE] -> [FE][addRootLineFields]并插入字段名。
https://stackoverflow.com/questions/61229734
复制相似问题