Skip to Content Skip to Menu

How display username and avatar in Joomla article layout override?

4 years 9 months 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.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48495
  • Thanks: 8284
  • Karma: 1443
4 years 9 months 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 - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
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 CST to 4:00 PM CST. 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

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum