View Full Version : Where to change "Items per page" number?
04-21-2009, 11:45 PM
inside administration, for Articles or Comments, we have 10 as default "Items per page" number.
Is it possible to change this number to 20 somewhere inside configuration (conf files or Preferences link), because I want to have 20 listed last articles or comments automaticly, not changed from the drop down menu...
07-21-2009, 04:06 AM
Hi there Q_line,
Did you manage to resolve this? I would also like 30 articles to show on one screen, instead of having to reselect every time.
A post elsewhere on here suggests that in
you change $params['search_limit'] = 10;
$params['search_limit'] = xx; ( where xx is number you desire).
But this does not work.
Any clues anyone pls?
07-22-2009, 09:17 AM
Perhaps limit is set in your template directly?
Try searching for 'search_limit' in your template set, if it's hardcoded somewhere
07-22-2009, 12:16 PM
Have scoured all files - nope, not a thing !
09-18-2009, 11:48 AM
Anyone have a clue on this pretty basic item pls?
i.e. How to set default number of articles in the articles list to 20 or 30 instead of 10?
10-02-2009, 02:45 AM
Isn't this in admin --> categories --> tree --> select category --> advanced options --> number of articles
admin --> preferences --> article list, latest news --> show form --> number of news, etc.
admin --> preferences --> categories --> page elements --> article list-more news --> number of articles per category
Let me know if this is correct.
10-03-2009, 01:47 AM
Thanks for the suggestion, disco4me.
The paths you have there will affect what content appears on the front or other pages, and that all works fine.
All I want to do in Admin>Articles, is have the vertical listing of articles appear 30 (or 50) at a time instead of clicking on that little dropdown selector every time. (See screenshot).
With a nice new portrait mode monitor, this should be a pleasure !
Vivvo has some unique and intuitive features for an busy editor - drag and drop article order among others - very smooth. But it's jerky to have to click again to see >10 articles - surely there is a simple tweak?
Have combed all templates - no change cures this.
Baffle baffle. Any suggestion from a heavy duty Editor greatly appreciated.
10-18-2009, 01:46 AM
If the limit of 10 articles didn't annoy you, well maybe you don't work much on content . .
The mod to increase this to (whatever) was advised as
FILE: /lib/vivvo/core/Articles.class.php (line 2123)
$params['search_limit'] = $in_params['search_limit'];
$params['search_limit'] = 10;
i.e. Change the 10 to 30, to show 30 articles down the page . . . well this didn't jolly well work.
A bit more sleuthing with Agent Ransack revealed:
FILE: lib/vivvo/admin_view/articles_admin_view.class.php (line 83)
$cur_page = (int) $um->get_param('pg');
if (empty($cur_page)) $cur_page=1;
$sm->article_list_params['search_limit'] = 10;
$sm->article_list_params['offset'] = ($cur_page-1) * $sm->article_list_params['search_limit'];
i.e. Change line 83 from 10 to 30
Oddly, already tried this in 4.1.5 and it didn't appear to work. Now, in 184.108.40.206 it does.
Yup, it makes editor's job much easier.
01-08-2010, 10:08 AM
@disco4me - Thanks a lot for your timele help, its working like a charm now :)
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.