3 Jun 2016

Memperbaiki Error : warning illegal string offset active pagination.php line 90 pada Joomla

If we are using our conv_template in Joomla 3.x then Joomla gives this warning in pagination.php. on line 90 and 96. The reason is, in Joomla 3.x the pagination array has changed. You can find below code on line 90 and 96 in templates/conv_template/html/pagination.php.
//line 90
if($page['data']['active'])
{
$html .= '<strong>';
}
//line 96
if($page['data']['active'])
{
$html .= '</strong>';
}

And replace it by
//line 90
if($page['active'])
{
$html .= '<strong>';
}
//line 96
if($page['active'])
{
$html .= '</strong>';
}
Our template was made for 1.5 and above till 2.5x. But it is not yet fully compatible for Joomla 3.x. We need to make two separate versions of it. We can improve the 3.x version time to time as we find bugs like these. 

No comments:

Post a Comment