How to change the amount of rows in a listing |
[eluser]ozstar[/eluser]
Hi, I want to change a listing of categories which at the moment go to 10 rows, then one has to go to the next page etc for another 10 and so on for several pages. I wish this list to be 50. I have looked in Pagination but there does not seem to be any number which suggests 10 anything. Any ideas where I should look please? Thanks John
[eluser]Vega[/eluser]
If I understand you correct, you want to display 50 per page, you should set per_page in your pagination config array: Code: $config['per_page'] = 50; See: http://ellislab.com/codeigniter/user-gui...ation.html
[eluser]juanvillegas[/eluser]
Yes that's correct. I think 10 may be the default parameter.
[eluser]ozstar[/eluser]
Hi and thanks.. In the Pagination.php there is no rference to this line.. Code: $config['per_page'] There is this.. which as you can see I changed to 50 and that works on the listing of products, but not 'categories' on another page. Code: var $base_url = ''; // The page we are linking to I am did a search of all files for.. $config - but it came up zero.. ? Where else could I look? Thanks again. John |
Welcome Guest, Not a member yet? Register Sign In |