dede调用当前栏目页地址:
方法一:{dede:field.typedir/}/ 后面要价格斜杠才完美!你应该懂。 {dede:field.typeurl/} {dede:field.typelink/} 都调用不出来的。
方法二:{dede:type}[field:typelink /]{/dede:type}
如栏目页告诉搜索引擎那个是规范页可以这么写:
简单方便,高端大气上档次!
dede调用当前栏目的名称:
{dede:field.typename/}
织梦列表页可以获取的所有变量
在plus/list.php文件中的Display();之前打印Fields数组就可以看到列表页面可调用的变量
print_r($lv->Fields);如下就是:
Array
(
[id] => *****
[reid] => *****
[topid] => *****
[sortrank] => *****
[typename] => *****
[typedir] => *****
[isdefault] => *****
[defaultname] => *****
[issend] => *****
[channeltype] => *****
[maxpage] => *****
[ispart] => *****
[corank] => *****
[tempindex] => *****
[templist] => *****
[temparticle] => *****
[namerule] => *****
[namerule2] => *****
[modname] => *****
[description] => *****
[keywords] => *****
[seotitle] => *****
[moresite] => *****
[sitepath] => *****
[siteurl] => *****
[ishidden] => *****
[cross] => *****
[crossid] => *****
[content] => *****
[smalltypes] => *****
[ctypename] => *****
[addtable] => *****
[issystem] => *****
[position] => *****
[title] => *****
[phpurl] => *****
[indexurl] => *****
[templeturl] => *****
[memberurl] => *****
[specurl] => *****
[indexname] => *****
[templetdef] => *****
[rsslink] => *****
[typeid] => *****
)