Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026
About Us
O nás
Magazine
Magazín
Open Source
Otvorený softvér
CVS
CVS
Services
Služby
Index  »  Projects  »  phpMyEdit  »  Forum  »  Unwanted buttons after upgrade to PME 1.167

phpMyEdit General     Unwanted buttons after upgrade to PME 1.167
Post new topic   Reply to topic    
 
magpie     Joined: 31 Mar 2005   Posts: 1  
Post Posted: 2005-10-19 15:14
Back to top  Reply with quote     

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.

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Odkazový formulár · Application form · Prihláška
Report bug on PLATON.SK website · Upozorniť na chybu na PLATON.SK webstránke · Terms of use · Podmienky použitia · Privacy policy · Ochrana osobných údajov