{dede:arclist idlist="1349" channelid="1" addfields="date,city"} idlist:文章id列表 channelid:內容模型id addfields:自定義字段 ...
首頁調用公司簡介的代碼: dede:sql sql Select content,substring content, , as content from dede arctype where id field:content function html text me dede:sql 你需要修改的地方:substring content, , 和id 。 ...
2017-09-14 10:10 0 2223 推薦指數:
{dede:arclist idlist="1349" channelid="1" addfields="date,city"} idlist:文章id列表 channelid:內容模型id addfields:自定義字段 ...
最近有小伙伴問我,織夢DedeCMS相關文章列表怎么調用,下面是調用標簽: 本文來源:http://www.d163.net/html/php/39.html -- 小郭博客(AndyGuo) ...
調用全站tags標簽: {dede:tag row='100' sort='new' getall='1'} <a target="_blank" href='[field:link/]'>[field:tag /]</a> {/dede:tag} 備注 ...
最近用了交叉欄目發現當為手動指定交叉欄目ID時用arclist標簽不能調出相關文章最后發現是arclist標簽有問題要修改的地方是:include/taglib/arclist.lib.php第167 ...
織夢DedeCms給我們提供了大量調用標簽,供我們調用各種數據,但提供再多的標簽,也有滿足不了我們的時候,這時我們可以用SQL語句,靈活調用我們需要的內容。 如何任意調用數據庫中的內容呢?先舉個例子:大家都知道DEDE后台有個頻道模型里面有添加單頁文檔的功能,但如何在首頁調用單頁文檔 ...
備注:上面是我調用醫院文章列表的代碼,用於首頁。 ...
dedecms列表頁、首頁如何調用文章發布時間總結 一、dedecms首頁時間標簽: 1、12-27 樣式 [field:pubdate function='strftime("%m-%d",@me)'/] 2、May 15, 2012 樣式 [field:pubdate ...