Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 30. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Incorrect(?) Navigation Bar

phpMyEdit Configuration     Incorrect(?) Navigation Bar
Odoslať novú tému   Odpovedať na tému    
 
cls     Založený: 25.07.2006   Príspevky: 2  
Príspevok Zaslal: 2006-07-25 23:05
Návrat hore  Odpovedať s citátom     

Hello!

I am working with code generated by phpMyEditSetup (5.5)

When attempting to use Graphics navigation style ($opts['navigation'] = 'GUD';), the navigation bar still displays "<< < Add View Change Copy Delete > >> Go to" (as though Buttons mode ($opts['navigation'] = 'BUD';) were selected), instead of the expected navigation bar of "First Prev Add Next Last Go to". Is this a bug, or have I not configured my code correctly?

Thanks!

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2006-07-26 17:23
Návrat hore  Odpovedať s citátom     

afaik, in cvs phpMyEdit.class.php, you will always have First, Prev, ...

anyway, you can configure this via
Kód:

$opts['buttons']['F']['down'] = array( 'First',
        'Prev',
        'Page',
        'goto_text',
        'of',
        'total_pages',', spolu','total_recs','Records',
        '->',
        '->>','view','change','add','<a href="/">index</a>');
$opts['buttons']['F']['up'] = $opts['buttons']['F']['down'];
$opts['buttons']['L']['down'] = $opts['buttons']['F']['down'];


 
cls     Založený: 25.07.2006   Príspevky: 2  
Príspevok Zaslal: 2006-07-26 19:25
Návrat hore  Odpovedať s citátom     

michal Napísal:
afaik, in cvs phpMyEdit.class.php, you will always have First, Prev, ...

anyway, you can configure this via
Kód:

$opts['buttons']['F']['down'] = array( 'First',
        'Prev',
        'Page',
        'goto_text',
        'of',
        'total_pages',', spolu','total_recs','Records',
        '->',
        '->>','view','change','add','<a href="/">index</a>');
$opts['buttons']['F']['up'] = $opts['buttons']['F']['down'];
$opts['buttons']['L']['down'] = $opts['buttons']['F']['down'];


Thank you for the reply. I find no references to the code above in either my copy of phpMyEdit.class.php, or in the latest version found in cvs (1.44). Perhaps I am looking in the wrong place? Is there an example script (the actual code) which shows First, Prev, ... working correctly? For example, all of the MFG sample scripts, as well as the screenshots at phpmyedit.org show First, Prev working properly. Again, perhaps I am missing something in my configuration which is causing this not to work on my server.

 
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