web*_*Man 0 typo3 viewhelper typo3-7.6.x
我需要在流体模板中为完整的表行创建链接,此语法需要以下 html 代码(取自此问题)
<tr class="clickable-row" data-href="url://http://domain.com/index.php?...">,我尝试使用内联 viewhelper 注释生成:
<tr class="clickable-row" data-href="url://{f:link.action(pageUid: settings.detailPid, absolute: 'TRUE', controller: 'Object', pluginName: 'Objects', action: 'detail', arguments: {object:item})}">
Run Code Online (Sandbox Code Playgroud)
这将链接包装在一个<a tag>搞乱了一切的地方
您正在寻找的 ViewHelper 是<f:uri.action>
https://fluidtypo3.org/viewhelpers/fluid/master/Uri/ActionViewHelper.html
| 归档时间: |
|
| 查看次数: |
2350 次 |
| 最近记录: |