Joomla 2.5: Pagination not working in frontend