UPDATES PayPlans 5.0.8 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
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