我重写Templates/Styles/TWB/Templates/Category/List.html
有类别菜单行为完全是在引进包装工具栏菜单(子菜单显示只有当主被选中)。TYPO3:的TX-新闻类树,使子树只有在选择主
如果我添加静态模板“新闻样式Twitter Bootstrap(新闻)”我几乎在那里,只要选择主类别(我需要大量的类别/子类),但它也应该在选择一个子打开:
...
<f:if condition="{0:category.item.uid,1:category.item.uid} == {0:overwriteDemand.categories,1:category.children.{overwriteDemand.categories}.parent}">
<f:if condition="{category.children}">
<f:render section="categoryTree" arguments="{categories: category.children,overwriteDemand:overwriteDemand,class:''}" />
</f:if>
</f:if>
...
我不知道如何使用{overwriteDemand.categories}
关键匹配值...有谁能够指向正确的语法
更新:我想申请一个自定义视图助手为this post suggests,BU使用TYPO3 V7.6.16牛逼卡住了与错误should be compatible with TYPO3\CMS\Fluid\Core\ViewHelper\AbstractConditionViewHelper::render()
,所以只能看不能用另一种方式的变量overwriteDemand.categories
工作...
嗨保罗,整个网站已经准备好,但我还是没有解决这个问题,V8是不是一种选择,而是我自己的视图助手我被卡住......你可以给我一个指针... HTTPS: //stackoverflow.com/questions/19731150/typo3-fluid-complex-if-conditions看起来不错,但给错误... – webMan