UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Retrieve avatar of a group category

Alexandre Cayer · ·
2:26 PM Friday, 23 October 2015
None
Humm there might be something I miss behind the model (which make sense since avatar is not in table...) to get a group category avatar...

$catModel = FD::model('GroupCategories');
$b = $catModel->getCategories(array('id' => $category->esgroup_id, 'state' => SOCIAL_STATE_PUBLISHED, 'ordering' => 'ordering'));
$a.='<img src="'. $b->getAvatar(SOCIAL_AVATAR_SQUARE).'" class="avatar" />';

$b retrieve the good category... however getAvatar method fails... :/ which makes sense, how I link $b and getAvatar ?
The replies under this section are restricted to logged in users or users with an active subscription with us