1. yosha
  2. Support
  3. Friday, April 05 2019, 10:21 AM
Is it possible to show the Avatar of a user in a menu instead of "User" or "Account"?
Accepted Answer
admin Accepted Answer
Admin
Hi,
ops, you have right, second link is a private topic...sorry for this.

Anyway the concept used for this customer is to add avatar in a module shown in the footer of the site and with a Javascript code move the avatar before a menu item text "Account"

In this case the Javascript function added to Template parameters was something like this:
<script>
jQuery(document).ready(function(){
jQuery('.module435 img').appendTo('.itemid1012 > a');
});
</script>
where module435 is the class of the module and itemid1012 is the class of the menu item


Of course a function like this may not works for you, so if you have not Javascript knowledges and you prefer our help then please post me your site details (you can use the form below the reply in "Site Details" tab), we will help you to do this ;)
  1. more than a month ago
  2. Support
  3. # Permalink
admin Accepted Answer
Admin
Hi,
you can use a Joomla Custom module and our Content Plugin to show avatar everywhere your template allow to use modules. see an example at https://www.easy-profile.com/support/module-with-the-avatar-of-connected-user.html

Unfortunately is not possible to add this near a menu item without some workaround like a easy Javascript function.
For example, at the link https://www.easy-profile.com/support/avatar-drop-down-menu.html you will see how we have helped one customer to make it. If you need a help like this then please let me know :D
  1. more than a month ago
  2. Support
  3. # 1
yosha Accepted Answer
Hey,
thank you for your help. IThe first link looks very promising. Unfortunately, the second link is not working and throws a 404.

Kind regards
Yosh
  1. more than a month ago
  2. Support
  3. # 2
yosha Accepted Answer
Fantastic. Thank you very much for your help. It worked perfectly fine with a little tweaks.
  1. more than a month ago
  2. Support
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.