0
我搜索內聯流體條件和typoscriptObjectPath的解決方案。TYPO3內聯流體條件和輸入框對象PathPath
做工精細:
<f:cObject typoscriptObjectPath="lib.currentDate" />
做工精細:
<f:if condition="{price.day} == {f:cObject(typoscriptObjectPath:'lib.currentDate')}">
<f:then>work</f:then>
<f:else>dont work</f:else>
</f:if>
做工精細:
{f:if(condition:'{price.day} == \'Sunday\'',then:'active',else:'test')}
不工作
{f:if(condition:'{price.day} == \'{f:cObject(typoscriptObjectPath:'lib.currentDate')}\'',then:'active',else:'test')}
我該如何使用正確的內聯代碼?