Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Unwanted buttons after upgrade to PME 1.167

phpMyEdit General     Unwanted buttons after upgrade to PME 1.167
Odoslať novú tému   Odpovedať na tému    
 
magpie     Založený: 31.03.2005   Príspevky: 1  
Príspevok Zaslal: 2005-10-19 15:14
Návrat hore  Odpovedať s citátom     

Let me begin by saying that PME is fantastic and that is has saved me untold hours of development time on a MySQL database maintenance project. Many thanks to the PME team.

OK, I have been using the now deprecated PME calpopup class so I upgraded from PME 1.163 to PME 1.167 (from CVS) to take advantage of the new PME mce class. I immediately noticed that in the list view the buttons for disabled features, such as copy, are greyed out where they used to not appear at all. Am I missing something or is this intentional?

Below are the options I have selected in the form. However, the copy and view buttons still appear but are greyed out. I would prefer that they not show up at all. No point in letting users see what they cannot have, eh?

$opts['options'] = 'ACDF';

Update: After much reading in the bug reports I figured it out. You can now specify which buttons to display like this:

$opts['buttons']['L']['down'] = array('first', 'prev', 'add', 'change', 'delete', 'next', 'last', 'goto', 'goto_combo');

To display the "standard" buttons you have to look in the PME class file under "var $default_buttons = array(..." and use the key words found there.

I gather that you can also configure custom buttons but I have not yet figured out how. Is this stuff documented somewhere?

I also found a new problem: The "goto_combo" box no longer works!!! No matter what you select from the drop down list, it displays the current page.

 
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