Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Quick Question

phpMyEdit General     Quick Question
Post new topic   Reply to topic    
 
Beowulf     Joined: 20 Mar 2004   Posts: 2  
Post Posted: 2004-03-20 04:06
Back to top  Reply with quote     

Ok my question is I am sure pretty simple. Example information
the table is name em_char
the field is em_char_type
the key is barter
now how do I get it to only show and allow the things with the key barter to be the only items that can be edited? At the current moment I can only get it to show everything in the em_char_type and that is not what I am wanting I am wanting it to sort and show only things in that field with the key of barter to be viewed or edited at all.

 
michal     Joined: 17 Jun 2003   Posts: 537   Location: Slovakia
Post Posted: 2004-03-20 16:36
Back to top  Reply with quote     

you should set a filter http://opensource.platon.sk/projects/doc.php/phpMyEdit/html/configuration.filters.html (to say which records are to be displayed) and/or permissions for each field http://opensource.platon.sk/projects/doc.php/phpMyEdit/html/configuration.basic-options.html#AEN732 (to say which fields are displayed)

 
Beowulf     Joined: 20 Mar 2004   Posts: 2  
Post Posted: 2004-03-20 20:51
Back to top  Reply with quote     

could you give me perhaps a small example using the above information as from what I read from the urls given I am not understanding such.

 
michal     Joined: 17 Jun 2003   Posts: 537   Location: Slovakia
Post Posted: 2004-03-20 21:31
Back to top  Reply with quote     

how do you identify which records are allowed to be edited ?
if you have field 'editable' set to 1 if editable and set 0 if not, make a filter 'editable = 1' and add it to $opts.

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy