标签: Emlog

新浪sae Emlog碎语头像不显示

模板问题:

先找到主题模板目录下面的“t.php”文件.找到代码:

$avatar = empty($user_cache[$val[‘author’]][‘avatar’]) ?
BLOG_URL . ‘admin/views/images/avatar.jpg’ :
BLOG_URL . $user_cache[$val[‘author’]][‘avatar’];

修改为:

$avatar = empty($user_cache[$val[‘author’]][‘avatar’]) ?
BLOG_URL . ‘admin/views/images/avatar.jpg’ :
$user_cache[$val[‘author’]][‘avatar’];

即可。

 

新浪sae EMLOG 碎语头像不能显示

模板问题:

找到主题模板目录下面的t.php文件

 $avatar = empty($user_cache[$val[‘author’]][‘avatar’]) ?
                BLOG_URL . ‘admin/views/images/avatar.jpg’ :
                BLOG_URL . $user_cache[$val[‘author’]][‘avatar’];

修改为:

 $avatar = empty($user_cache[$val[‘author’]][‘avatar’]) ?
                BLOG_URL . ‘admin/views/images/avatar.jpg’ :
                 $user_cache[$val[‘author’]][‘avatar’];

即可。