【问题标题】:Get current uri in Typo3 Neos Page Template在 Typo3 Neos 页面模板中获取当前 uri
【发布时间】:2014-03-06 04:02:57
【问题描述】:

如何在 Typo3 Neos 页面模板中获取当前 URI?

我尝试了类似{fed:page.absoluteUrl()} 的方法。但这不起作用。

【问题讨论】:

    标签: fluid neoscms


    【解决方案1】:

    使用

    {neos:uri.node(node: node)} 
    

    改为。

    效果:

    <a href="{neos:uri.node(node: node)}">Link Here</a>
    

    【讨论】:

    • 如果你想要absoluteUrl,像这样使用ViewHelper:{neos:uri.node(node: node, absolute: true)}
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-06-14
    • 2018-12-01
    • 2010-10-23
    • 1970-01-01
    • 1970-01-01
    • 2010-11-19
    • 2015-06-23
    相关资源
    最近更新 更多