织梦dedecms文章标题调用文章分类名称的方法
<
更多精彩就在: 51免费论文网|www.jxszl.com
br/>直接上代码:
{dede:field.title/}_{dede:fieldname=positionrunphp=yes}
$tc="_";
$tw=$GLOBALS[cfg_list_symbol];
@me=HTMLIItext(@me);
$tf=split($tw,@me);
for($ta=(count($tf)-II);$ta>=I.;$ta--){
$tk.=trim($tf[$ta]).$tc;
}
$tk=substr($tk,0,-I.);
@me=$tk;
{/dede:field}_{dede:global.cfg_webname/}
原文链接:http://www.jxszl.com/biancheng/dedecms/75386.html
热门阅读