| Index
» Projekty
» phpMyEdit
» Fórum
» Large databases and the page select. |
 |
louis
Založený: 14.01.2009
Príspevky: 2
Zaslal: 2009-01-14 00:59
Návrat hore
Odpovedať s citátom
|
I am wondering if anyone can point me in the direction of the function that creates the page view select in list view. (PME_sys_navfmup)
Or if there is an alternative means of creating this so that it doesn't lag up my system querying for all 20 million items.
I also looked at setting a limit value for it but couldn't find any option for this, am I blatantly missing it?
Thanks, enjoying using this class, it may not be suited for large datasets though :(
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2009-01-14 14:59
Návrat hore
Odpovedať s citátom
|
If you're using the Go To drop down with tables having a lot of records, their usage is the cause of performance issues. Simplify the navigation by eliminating GoTo.
http://opensource.platon.sk/projects/doc.php/phpMyEdit/html/configuration.navigation.html
You might try this:
| Kód: |
$opts['navigation'] = 'GUD';
if(!stristr($opts['navigation'], 'B')){
$opts['buttons']['L']['up'] = array('<<', '<', 'add', '>', '>>');
$opts['buttons']['L']['down'] = $opts['buttons']['L']['up'];
$opts['buttons']['F']['up'] = array('<<', '<', 'add', '>', '>>');
$opts['buttons']['F']['down'] = $opts['buttons']['F']['up'];
$opts['buttons']['V']['up'] = array('change', 'cancel');
$opts['buttons']['V']['down'] = $opts['buttons']['V']['up'];
} |
|
louis
Založený: 14.01.2009
Príspevky: 2
Zaslal: 2009-01-14 21:28
Návrat hore
Odpovedať s citátom
|
Thanks, I was wondering how to do that. Basically I ended up nullifying a couple of return statements that produced the controls but this is a much cleaner fix.
Is there anyway to submit requests for features? It would be nice if we could still have a sort of page navigation, kind of like how pages are listed on google:
1,2,,3,4,5,6,7,8...1562156,1562157
That way the select options aren't in the magnitude of 100's of thousands.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|