【问题标题】:Output Multiselect TV by getResource in modx revo在 modx revo 中通过 getResource 输出多选电视
【发布时间】:2015-04-16 19:22:05
【问题描述】:

我尝试通过 getResource 输出带有资源列表的多选电视。

当我输出带有两个或多个 id 的电视 [[*myMultiselectTV]] 时,像这样 - idid - 没有任何逗号。当我使用

[[获取资源? &resources=`[[*myMultiselectTV]]` &tpl=`产品列表` &includeTVs=`1` &调试=`1` &processTVs=`1` ]]

我什么都没有。

当我用一个 id 输出电视时,我得到了唯一的一个 id,并且使用 getResource 渲染正常。

如何在 getResource 中使用 id 之间的逗号推送我的 multiselectTV?

【问题讨论】:

    标签: multi-select modx-revolution getresource


    【解决方案1】:

    将逗号设置为电视的自定义输出类型:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-04-24
      • 2016-05-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多