| Index
» Projekty
» phpMyEdit
» Fórum
» Disabling "Go to" selection box |
 |
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2004-03-30 08:59
Návrat hore
Odpovedať s citátom
|
it could be done with 'button display order'. see that bug report.
|
daniele
Založený: 27.08.2003
Príspevky: 2
Zaslal: 2004-04-27 17:19
Návrat hore
Odpovedať s citátom
|
| Doug Hockinson Napísal: |
With a table containing over a million records (web page requests) the "Go to" drop-down SELECT box becomes a nuisance ... scripts "time out" while trying to create a gigantic OPTION list.
Have I overlooked an option to disable the "Go to" button? |
I have the same problem but I want to mantain page selection.
Is it possible to change the "Go to" drop-down select with a text input?
I think that with text input control could be possible have a page navigation tool without the problem of the drop down in large databases..
|
nepto
Založený: 06.01.2003
Príspevky: 320
Bydlisko: Phoenix, Arizona (USA)
Zaslal: 2004-04-27 18:09
Návrat hore
Odpovedať s citátom
|
Will be possible in next release.
About the text instead of drop down: I'm not sure, if this will be possible too...
_________________ Ondrej Jombik (Nepto)
Visit my
homepage
, review my recent
CV
or
projects
and give me some
feedback
.
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2004-05-05 20:56
Návrat hore
Odpovedať s citátom
|
text page number input:
add these lines to display_button() function (after drop down creation)
should basically do what's expected, but you have to enter record nubmer to start with, not page number (it's a harder hack, maybe comming later)
| Kód: |
if($name == 'goto_text') {
$disabledgoto = !($listall || ($disablednext && $disabledprev)) ? '' : ' disabled';
if($disablegoto == 'disabled' && $order <= -1 ) return;
$ret = '<input type="text" class="'.$this->getCSSclass('goto', $up);
$ret .= '" name="'.ltrim($disabledgoto).'navfm'.$up.'" value='.$this->fm.'>'."\n";
return $ret;
}
|
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|