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 offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

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