dashan 提交于
论坛:
有什么方法可在全局显示用户自己的头像的?
做个区块,里面放php code:
<?php
global $user;
$user_fields = user_load($user->uid);
print theme_get_setting('toggle_comment_user_picture') ? theme('user_picture', array('account' => $user_fields)) : '';
?>
区块随便放哪都可以
或者:
用个 views 查询一个出来,随便查什么头像都可以
- 登录以发表评论