Joomla 3.3.4 – 3.3.6 pagination bug

This is bug which mostly not allowing you to go to first page or use back button, in version 3.4 it’s fixed but if you want to make just fix of 3.3 version, this is how you should do it open file /libraries/cms/router/site.php now find this

if ($this->_mode == JROUTER_MODE_SEF && $route)
{
    $limitstart = (int) $uri->getVar('limitstart');
    if ($limitstart > 0)
    {
        $uri->setVar('start', $limitstart);
    }
    $uri->delVar('limitstart');
}

and replace it with this code:

f ($this->_mode == JROUTER_MODE_SEF && $route)
{
    if ($limitstart = $uri->getVar('limitstart'))
    {
        $uri->setVar('start', (int) $limitstart);
        $uri->delVar('limitstart');
    }
}

Leave a Reply

Your email address will not be published. Required fields are marked *