morez
Založený: 10.11.2003
Príspevky: 10
Zaslal: 2003-11-10 09:47
Návrat hore
Odpovedať s citátom
|
Thanks Doug, thanks for the code,
unfortunately I get an error 'unexpected T_STRING' on line
| Kód: |
| $order = @$_POST['order']; |
and I am afraid I am not good enough at php to debug it.
Anyway it was just a feature request, hope the developers will consider it.
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2003-11-11 00:44
Návrat hore
Odpovedať s citátom
|
the page number stored in fm variable (see the source code of your html page).
fm is the lower limit fm + opts[inc] the upper.
by changing this, you can access any page. however i do not know how to access the last one :)
when i deal with many pages of a table, i stick with filters, they make it look much easier and smaller
|
morez
Založený: 10.11.2003
Príspevky: 10
Zaslal: 2003-11-14 10:37
Návrat hore
Odpovedať s citátom
|
| Kód: |
*
* Usage = links in form footer:
* <a href="my_form.php?fl2=1">1</a>
* <a href="my_form.php?fl2=2">2</a>
* <a href="my_form.php?fl2=3">3</a>
*/
|
Interesting, makes me improve my feature request :
First | Previous | 1 |2 | 3 | 4 | ... | 58 | 59 | Next | Last
Set number of items per page : 20
In the scripts :
// Default number of records to display in the lists
// Minus in front of the number gives the user the opportunity to set his own value
// Value of -1 lists all records in a table
table$opts['inc'] = -15;
// Navigation style: B - buttons (default), T - text links, G - graphic links
// Indexed pages : I - Index of pages, E - Ends of the list (First and last buttons)
// Buttons position: U - up, D - down (default)
$opts['navigation'] = 'GUDIE';
|
hbernard
Založený: 23.03.2003
Príspevky: 159
Bydlisko: FRANCE
Zaslal: 2003-11-14 22:04
Návrat hore
Odpovedať s citátom
|
Your feature request is there :
http://opensource.platon.sk/projects/bug_view_advanced_page.php?f_bug_id=33
...since 2003/02/24
|
jroztocil
Založený: 15.01.2007
Príspevky: 1
Zaslal: 2007-01-15 03:51
Návrat hore
Odpovedať s citátom
|
| morez Napísal: |
First
|
Previous
|
1
|
2
|
3
|
4
| ... |
58
|
59
|
Next
|
Last
Set number of items per page :
20
In the scripts :
// Default number of records to display in the lists
// Minus in front of the number gives the user the opportunity to set his own value
// Value of -1 lists all records in a table
table$opts['inc'] = -15;
// Navigation style: B - buttons (default), T - text links, G - graphic links
// Indexed pages : I - Index of pages, E - Ends of the list (First and last buttons)
// Buttons position: U - up, D - down (default)
$opts['navigation'] = 'GUDIE'; |
This is an excellent idea. This nav modification is EXACTLY what I would like to do - visually and functionally. I've looked at it but I am afraid I do not have enough experience to do this well.
I looked at $opts['buttons'] but I don't think that this is the way.
Has anyone had any success doing this?
Jake
|
zucarino
Založený: 29.12.2005
Príspevky: 44
Bydlisko: Rio de Janeiro - Brazil
Zaslal: 2007-09-10 19:04
Návrat hore
Odpovedať s citátom
|
| doug Napísal: |
| We almost need an option to completely disable GoTo drop downs when a table contains a huge number or records. |
Hi Doug,
I vote to Disable.
_________________ ---
Victor Zucarino
vffzbr at yahoo dot com dot br
|
trister
Založený: 01.12.2010
Príspevky: 15
Zaslal: 2010-12-01 20:36
Návrat hore
Odpovedať s citátom
|
| doug Napísal: |
| We almost need an option to completely disable GoTo drop downs when a table contains a huge number or records. |
I have about 2500 records on a table and it will double in the future.
Can anyone suggest the correct way to disable the count of records (that I think used for creating the combo box)?
I hardcoded a fixed number (instead of the count resuts) in the phpMyEdit file and I saw a 10seconds decrease in the query time...
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2010-12-01 22:18
Návrat hore
Odpovedať s citátom
|
I always use the following non-GoTo navigation:
| Kód: |
$opts['buttons']['F']['down'] = array('<<', '<', 'add', '>', '>>');
$opts['buttons']['F']['up'] = array('<<', '<', 'add', '>', '>>');
$opts['buttons']['L']['down'] = array('<<', '<', 'add', '>', '>>');
$opts['buttons']['L']['up'] = array('<<', '<', 'add', '>', '>>');
$opts['buttons']['V']['down'] = array('change', 'cancel');
$opts['buttons']['V']['up'] = array('change', 'cancel'); |
|
trister
Založený: 01.12.2010
Príspevky: 15
Zaslal: 2010-12-04 01:09
Návrat hore
Odpovedať s citátom
|
Thanks for the reply . I'll try it as soon as possible
|
|
Odoslať novú tému
Odpovedať na tému
|