Last active
July 14, 2017 10:06
-
-
Save qwersk/80085849b00e76445adb5d6985c6071b to your computer and use it in GitHub Desktop.
DISPLAY USER AVATAR #JOOMLA @JOOMLA2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Установить плагин CMAvatar (https://extensions.joomla.org/extension/cmavatar/) | |
<?php | |
$user = JFactory::getUser(); | |
require_once JPATH_PLUGINS . '/user/cmavatar/helper.php'; | |
$avatar = PlgUserCMAvatarHelper::getAvatar($user->id); | |
//print_r($avatar); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment