我创建"当前"的通用标记(### GENERIC_URL ###) url并将其显示在单个视图页面上。
plugin.tt_news {
genericmarkers.URL = TEXT
genericmarkers.URL {
data = getIndpEnv:TYPO3_REQUEST_URL
wrap = link: |
}
}
是否可以获取每个新闻项目的tt_news网址并将其作为附加网址链接显示在列表视图中?
答案 0 :(得分:1)
如果我理解正确,你需要单个视图网址吗? 这应该有效:
plugin.tt_news.genericmarkers.URL = COA
plugin.tt_news.genericmarkers.URL {
1 = TEXT
1.data = TSFE:baseUrl
2 = TEXT
2 {
value =
typolink = 1
typolink {
# Change 1 to page UID where your single view plugin is placed
parameter = 1
additionalParams = &tx_ttnews[tt_news]={field:uid}
additionalParams.insertData = 1
returnLast = url
}
}
}