How to change the category list page number of Joomla 1.5
Written by Li   

In Joomla1.5, the default articles category layout is 'Category List Layout', which will list all articles of the category. If the category has a great number of articles, the response speed will be very slow.

We can give it a default page number to solve this problems.

Open file components/com_content/views/category/view.html.php, find line 68, and change it as the following:

      if ($layout == 'blog') {
        if($limit ==  0) $limit = $intro + $leading + $links;
      }
      else {
        if($limit ==  0) $limit = 20;
      }

After done that,for the 'Category List Layout', each page will dispay 20 items.




 
Recommend Read