太阳成游戏网站

联系官方销售客服

QQ1835022299

028-61286886

POSCMS 版主:POSCMS负责人
想在列表里调用出来源应该怎么写?
类型:POSCMS 更新时间:2019-03-28 14:21:07

想在列表里调用出来源应该怎么写?


{module module=news sbpage=1 catid=1,2,3,4  page=1 pagesize=8 thumb=1 urlrule=index.php?page=[page]}

  •                               

        {$t.title}

                         {$copyfrom2}               

  • {/module}

    这样出来是空的,我的来源字段就是 copyfrom2

    回帖
    • cheng1
      #1楼    cheng1
      2019-03-28 10:33:30
      0
      copyfrom2这个字段是自定义字段吗?是主表字段?还是附表字段?
    • caibidatou
      #2楼    caibidatou
      2019-03-28 10:34:48
      0
      cheng1 附表,是不是没救了 。。。
    • 长沙小陈
      #3楼    长沙小陈
      2019-03-28 10:37:13
      0
      附表确实没救了,你创建字段就要看好,一个主一个副,这是为了提高效率所以有了主副之分
    • caibidatou
      #4楼    caibidatou
      2019-03-28 10:37:47
      0
      长沙小陈 好吧,谢谢了
    • cheng1
      #5楼    cheng1
      2019-03-28 14:21:07
      0
      列表页面只能显示主表字段,加上more=1可调用自定义主表字段。下次长个记性吧