Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

How to get profile thumbnail to show in Joomla module

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 2 weeks ago #290030 by timstohr
Hi Kyle,
I am aware that I am supposed to use the content bot for getting any fields to display in a joomla module.
I just do not know how to get the thumbnail profile photo out.

Here is what I want to do: I want to create a field that shows the thumbnail profile photo. When the user clicks on it, they get to their own profile.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48711
  • Thanks: 8320
  • Karma: 1447
8 years 2 weeks ago #290054 by krileon
The list reason for image fields is always the thumbnail. So the below will give you the thumbnail of the avatar for example. It's already linked as well.

[cb:userfield field="avatar" reason="list" /]


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: nant

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

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 1 week ago #290077 by timstohr
I am using the content module and it works like a dream. Btw it would be great if one had the WYSIWIG in the content module as well, just like the Custom module. I would then use it exclusively I think.

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

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 1 week ago - 8 years 1 week ago #290078 by timstohr
Have forgotten to ask, how can I add a maximum height of the avatar? Simply in CSS of the module? It has currently (when you upload an avatar) a max height of 60 which is the same as the thumbnails. Anyway to override this ONLY for this module?
Last edit: 8 years 1 week ago by timstohr.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48711
  • Thanks: 8320
  • Karma: 1447
8 years 1 week ago #290090 by krileon

I am using the content module and it works like a dream. Btw it would be great if one had the WYSIWIG in the content module as well, just like the Custom module. I would then use it exclusively I think.

WYSIWYG is constantly breaking content so we opt to avoid using it as much as possible. It'll do things like pad it with paragraph elements or perform whatever cleaning it feels is necessary as well as sometimes escapes strings it shouldn't causing the substitution parsing to break. It's just a headache we prefer to avoid, sorry.

Have forgotten to ask, how can I add a maximum height of the avatar? Simply in CSS of the module? It has currently (when you upload an avatar) a max height of 60 which is the same as the thumbnails. Anyway to override this ONLY for this module?

Those parameters are for the resizing done at upload. They are not enforced on display. To have display size restrictions you need to use CSS.


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.

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

Moderators: beatnantkrileon
Powered by Kunena Forum