Typo3 Neos:如何在页面模板中使用流插件?
如果我有一个流插件TYPO3.NeosDemoTypo3Org:MyQuotesPlugin,并且我想呈现在ActionController中实现的方法“QuoteOftheDayaAction”的返回值,我如何在我的页面模板中做到这一点 对于Typo3,我会这样做:Typo3 Neos:如何在页面模板中使用流插件?,typo3,fluid,typo3-flow,neoscms,Typo3,Fluid,Typo3 Flow,Neoscms,如果我有一个流插件TYPO3.NeosDemoTypo3Org:MyQuotesPlugin,并且我想呈现在ActionController中实现的方法“QuoteOftheDayaAction”的返回值,我如何在我的页面模板中做到这一点 对于Typo3,我会这样做: page = PAGE page.10 < plugin.tx_myqoutesplugin_pi1 page=page 第10页
page = PAGE
page.10 < plugin.tx_myqoutesplugin_pi1
page=page
第10页
我怎样才能用近地天体和流体做到这一点
谢谢你的帮助 打字稿中的:
page.body.content.quoteOfTheDay = TYPO3.NeosDemoTypo3Org:MyQuotesPlugin {
action = 'quoteOfTheDay'
}
然后在身体模板中:
{content.quoteOfTheDay -> f:format.raw()}
谢谢克里斯蒂安,这已经有帮助了!但我怎样才能告诉打字稿我想调用哪个动作控制器方法呢?在上面的示例中,我想调用MyQuotesPlugin的方法QuoteOftheDayaAction。