方法一.Dedecms当前位置:
  {dede:field name='position'/}
 
方法二:  
| | 1 | {dede:field name='position'runphp='yes'} | 
| 2 |          $a=strlen(@me);//计算字符串的长度 | 
| 3 |           @me=substr(@me,0,$a-3);//截取字符 | 
 | 
 
方法三.、{dede:field name='position'/} 中去掉 > 并去掉最后一个文本的链接的解决方案 
| | 01 | {dede:field name='position'runphp='yes'} | 
                     $tl=''; 
 | 05 |              for($iij=0;$iij<$tn;$iij++){ | 
| 06 |                  if($iij==($tn-1)){
                     $tf[$iij]=strip_tags($tf[$iij]);
                 }
                  if($iij==0){
                    $tl = $tl.$tf[$iij];
                  }else{
                    $tl = $tl.' > '.$tf[$iij]; 
                  }
 |  | 
 | 
 | 
 | 
| 
 | 
 
如果还需要分隔符的话,就把$tl=$tl.$tf[$iij]; 换成
$tl=$tl."空格分隔符空格".$tf[$iij];
 
方法四.您当前所在的位置:
| | 1 | <a href="/">本站首页</a> >{dede:channel type='top'currentstyle=" | 
| 2 |         <a href='~typelink~'>~typename~</a> | 
 |