Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Nedeľa, 29. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Large databases and the page select.

phpMyEdit Configuration     Large databases and the page select.
Odoslať novú tému   Odpovedať na tému    
 
louis     Založený: 14.01.2009   Príspevky: 2  
Príspevok 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)
Príspevok 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  
Príspevok 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    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov