织梦dedecms将面包屑导航中的首页换成图片的方法

打开 /include/typelink.class.php 文件
找到
function GetPositionLink($islink=true)
    {
        if ( defined('DEDEMOB') )
        {
            $indexpage = "<a href='index.php'>".$this->indexName."</a>";
        } else{
            $indexpage = "<a href='".$this->indexUrl."'>".$this->indexName."</a>";
        }

修改为
function GetPositionLink($islink=true)
    {
        if ( defined('DEDEMOB') )
        {
            $indexpage = "<a href='index.php'>".
"<img src=\"/style/cmsjzy.jpg\" class=\"cmsjzy\" alt=\"Home\">"."</a>";
        } else{
            $indexpage = "<a href='".$this->indexUrl."'>".
"<img src=\"/style/cmsjzy.jpg\" class=\"cmsjzy\" alt=\"Home\">"."</a>";
        }