How display username and avatar in Joomla article layout override?

2 months 1 week ago #316310 by crealiagroup
Hi, I'm creating an article template override and I would like to display CB user author avatar in the article layout. How can I do it?
Could someone please suggest me th PHP code I can use inside my article layout override?

Thanks in advance.
2 months 1 week ago #316314 by krileon
Please do not reply to a 7 year old topic. Have moved your reply to a new topic. You'll have to use CB getFields API for that. Documentation for getFields API can be found below.

www.joomlapolis.com/documentation/279-community-builder/tutorials/18361-obtaining-field-values-through-getfields-api

If you just want the author name to link to a users profile you should only need to install CB Author Bot.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM EST to 4:00 PM EST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: crealiagroup
Moderators: beatnantkrileon
Time to create page: 0.406 seconds

Facebook Twitter LinkedIn