Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 28. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Proposed Display Option: View Always / Never Change

phpMyEdit Features     Proposed Display Option: View Always / Never Change
Odoslať novú tému   Odpovedať na tému    
 
phirschybar     Založený: 18.09.2003   Príspevky: 43  
Príspevok Zaslal: 2003-09-18 03:04
Návrat hore  Odpovedať s citátom     

I ran into this problem with fields that I didnt want certain unprivelaged users to be able to change when they added records. It is quite un-elegant and it wouldn't work for your example of stating a long question but here it is:

I made that field a DROPDOWN with only one value in the array. In my case, that one value was a variable, but it could certainly be static. Unfortunately, you will see the dropdown arrow but you can't make an edit to the field since there are no other options.

I propose that an uneditable field option be a feature of the next phpMyEdit.

Ben

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-09-20 18:37
Návrat hore  Odpovedať s citátom     

Consider this:

Everytime insert into database also username/userid (via hidden field for example). When user logged in, make filter to display only his or her records.

Concerning to Doug's question:

It has to be possible with triggers. In triggers you could remove undesirable values, which should not be stored in database.

 
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