發(fā)表日期:2017-12 文章編輯:小燈 瀏覽次數(shù):3143
dedecms留言本類的plus插件調(diào)用{dede:}標(biāo)簽或頭部尾部的方法好多人都想在留言本guestbook.htm里實現(xiàn)dede的標(biāo)簽調(diào)用,問題是在plus里不支持dede標(biāo)簽的應(yīng)用。怎么辦呢?
下面拿在留言本調(diào)用head.htm為例:
一般我們在首頁調(diào)用head是用{dede:include filename="head.htm"/},這在plus里是無效的。
我們可以在自定義標(biāo)簽中加一個head標(biāo)記的標(biāo)簽,在標(biāo)簽內(nèi)容里填上{dede:include filename="head.htm"/}保存
回到自定義標(biāo)簽列表,點擊JS調(diào)用可以得到JS調(diào)用代碼<script src='/plus/mytag_js.php?aid=2' language='javascript'></script>
這個JS代碼就相當(dāng)于普通文檔中的{dede:include filename="head.htm"/}
其他的什么標(biāo)簽都可以用js調(diào)用來實現(xiàn)。
此方法也可以通過廣告模塊來實現(xiàn),原理一樣,都是使用js去讀取。
日期:2018-06 瀏覽次數(shù):3952
日期:2019-09 瀏覽次數(shù):5219
日期:2018-06 瀏覽次數(shù):4244
日期:2018-06 瀏覽次數(shù):3973
日期:2018-05 瀏覽次數(shù):4218
日期:2018-05 瀏覽次數(shù):4434
日期:2018-05 瀏覽次數(shù):5102
日期:2018-05 瀏覽次數(shù):3925
日期:2018-05 瀏覽次數(shù):4081
日期:2018-05 瀏覽次數(shù):4439
日期:2018-05 瀏覽次數(shù):3403
日期:2018-03 瀏覽次數(shù):3337
日期:2018-03 瀏覽次數(shù):3449
日期:2018-01 瀏覽次數(shù):3299
日期:2018-01 瀏覽次數(shù):4009
日期:2018-01 瀏覽次數(shù):3341
日期:2018-01 瀏覽次數(shù):3140
日期:2017-12 瀏覽次數(shù):3230
日期:2017-12 瀏覽次數(shù):3474
日期:2017-12 瀏覽次數(shù):3506
日期:2017-12 瀏覽次數(shù):3060
日期:2017-12 瀏覽次數(shù):3419
日期:2017-12 瀏覽次數(shù):3175
日期:2017-12 瀏覽次數(shù):3215
日期:2017-12 瀏覽次數(shù):3119
日期:2017-12 瀏覽次數(shù):3221
日期:2017-12 瀏覽次數(shù):3165
日期:2017-12 瀏覽次數(shù):3142
日期:2019-09 瀏覽次數(shù):3138
日期:2017-12 瀏覽次數(shù):3197
Copyright ? 2013-2018 Tadeng NetWork Technology Co., LTD. All Rights Reserved.