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
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline
I had a problem when using module to list blog posts on homepage. Since i have hundreds of categories, i could not add all of them as menu items. So, i have added only few, main categories.

Problem arised when some of the blog posts are assigned to child categories. Links do not use SEF. To fix that, i have added code to look up parent category for that child category.

In module's folder, open helper.php and look for

if( $routeTypeCategory )
{
$xid = EasyBlogRouter::getItemIdByCategories( $post->category_id );
}

and replace it with

if( $routeTypeCategory )
{
$xid = EasyBlogRouter::getItemIdByCategories( $post->category_id );
if(empty($xid))
{
$categories = array( $post->category_id );
EasyBlogRouter::getCategoryParentId( $post->category_id , $categories );
foreach($categories as $pcat)
{
$xid = EasyBlogRouter::getItemIdByCategories( $pcat );
if(!empty($xid))
{
break;
}
}
}
}
The replies under this section are restricted to logged in users or users with an active subscription with us