【发布时间】:2013-11-27 20:16:14
【问题描述】:
我有这个 getResourcesCall
[[!getResources? &tpl=GRTpl&includeContent=1&includeTVs=1&parents=[[*id]]]]
在 GRTpl 我包含[[+content]] 标签,但它们只显示父级的内容,而不是子级的内容。是什么赋予了!?
更新:
我在 GRTpl 中使用 ModX 输出过滤器。所以我有一个单选列表框,它根据选择显示块。这是GRTpl:
[[+tv.section_type:eq=`Type One`:then=`[[$Type One Chunk]]` ]]
[[+tv.section_type:eq=`Type Two`:then=`[[$Type Two Chunk]]` ]]
[[+tv.section_type:eq=`Type Three`:then=`[[$Type Three Chunk]]` ]]
[[+tv.section_type:eq=`Type Four`:then=`[[$Type Four Chunk]]` ]]
【问题讨论】:
标签: modx getresource