Pra*_*apa 1 typo3-6.2.x tx-news
我有关于uid xyz和pid foobar的文章.如何使用f:uri.action或f:link.page(或任何其他uri)外部news扩展名为详细信息页面创建链接?
要回答100%的问题,可以使用构建链接
<f:link.page />
<f:link.page
pageUid="13"
additionalParams="{tx_news_pi1: {controller: 'News',action: 'detail', news:newsItem.uid}}">
{newsItem.title}
</f:link.page>
Run Code Online (Sandbox Code Playgroud)
<f:uri.page />
<a
href="{f:uri.page(
pageUid:13,
additionalParams:'{tx_news_pi1:{controller:\'News\',action:\'detail\',news:newsItem.uid}}')}">
{newsItem.title}
</a>
Run Code Online (Sandbox Code Playgroud)