久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      DEDE在runphp=yes的標簽中怎么調(diào)用其他field值

      DEDE在runphp=yes的標簽中怎么調(diào)用其他field值

      DEDE在runphp=yes的標簽中怎么調(diào)用其他field值?

      DEDE織夢CMS模板在runphp=yes的標簽中調(diào)用其他field值的方法

      推薦學習:織夢cms

      dedecms在runphp=yes的標簽中調(diào)用其他field值 dedecms有強大的TAG自定義功能,但如果你是在runphp=yes的情況下,你無法使用[field]等標簽

      因為它不解析了(都當成PHP代碼了,怎么可能解析呢?)

      怎么辦?

      查了一下google,沒有發(fā)現(xiàn)解決方法。所以我想了很久想出一個臨時性的解決方法,即用全局變量來解決這個問題。。

      {dede:php}$GLOBALS['xxoo']=$arc->Fields['fieldname']{/dede:php}  {dede:field.xxxx runphp="yes"}@me="test".@me."-test".$GLOBALS['xxoo'];{/dede:field.xxxx}

      即,先開一個PHP的標簽,把想賦的值替換給global變量。然后在另外的運行中將field值賦值給他。

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號