名站网址导航为大驾家提供DedeCMS站点程序站点教程相关的知识,比如织梦程序安装教程,织梦程序系统故障等教程。一.修改include\taglib\infolink.lib.php 主要增加了 $fields['puper'] = $em_nativeplaces[$toptype]; 与 $fields['puper'] .= ' - ' . $em; 这段相关具体代码如下改成这样 以下为引用的网站内容: //地区链接 if(empty($nativeplace)) { foreach($em_nativeplaces as $eid=>$em) { if($eid % 500 != 0) continue; $fields['nativeplace'] .= " <a href='{$baseurl}plus/list.php?channelid={$channelid}&tid={$typeid}&nativeplace={$eid}&infotype={$infotype}'>{$em}</a>\r\n"; } } else { $sontype = ( ($nativeplace % 500 != 0) ? $nativeplace : 0 ); $toptype = ( ($nativeplace % 500 == 0) ? $nativeplace : ( $nativeplace-($nativeplaceP0) ) ); $fields['nativeplace'] = "<a href='{$baseurl}plus/list.php?channelid={$channelid}&tid={$typeid}&nativeplace={$toptype}&infotype={$infotype}'><b>{$em_nativeplaces[$toptype]}</b></a> >> "; $fields['puper'] = $em_nativeplaces[$toptype]; foreach($em_nativeplaces as $eid=>$em) { if($eid < $toptype 1 || $eid > $toptype 499) continue; if($eid == $nativeplace) { $fields['nativeplace'] .= " <b>{$em}</b>\r\n"; $fields['puper'] .= ' - ' . $em; } else { $fields['nativeplace'] .= " <a href='{$baseurl}plus/list.php?channelid={$channelid}&tid={$typeid}&nativeplace={$eid}&infotype={$infotype}'>{$em}</a>\r\n"; } } } 二、在站点列表具体调用里用 {dede:infolink}[field:puper/]{/dede:infolink} 具体调用 同样适用于其他联动类别
关于DedeCMS站点程序站点教程相关的知识,就说到这里了希望能帮助朋友们。DedeCMS站点程序 v5.5 删除去掉“匿名”评论的相关具体操作方法