Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 26. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Link to id to edit particular row

phpMyEdit General     Link to id to edit particular row
Odoslať novú tému   Odpovedať na tému    
 
callitkarma67     Založený: 21.11.2014   Príspevky: 1  
Príspevok Zaslal: 2014-11-21 07:37
Návrat hore  Odpovedať s citátom     

Hey all,
I'm looking to directly edit a row (by its ID) by adding the ?id=(##) to my edit link on my display page. I have a custom display table that I need to continue to use. Basically my users do not like to click the edit link just to find the particular row, select it, and click edit again. Just trying to eliminate the middle step. It would also be nice to add a link on the (actual) edit form page to return to my display table page. Any help is must appreciated.

Thank you very much in advance.

 
Paulo Fernando     Založený: 05.10.2014   Príspevky: 19  
Príspevok Zaslal: 2014-11-21 09:39
Návrat hore  Odpovedať s citátom     

$opts['fdd']['dummy2'] = array (
'name' => 'Produtos',
'sql|VLF' => 'if(cod_venda <> "",
CONCAT("<a href=\"vendidos.php?s=22&PME_sys_fl=1&PME_sys_fm=0&PME_sys_sfn[0]=1&PME_sys_qf2=", cod_venda, "\" >Produtos</a>"),
"")',
'options' => 'VLF',
'input' => 'R',
'escape' => false,
'sort' => false
);


Transforms a column link to the desired line

if ($_POST['PME_sys_operation'] != 'Change') {
$opts['cgi']['overwrite']['PME_sys_operation'] = 'View';
$opts['cgi']['overwrite']['PME_sys_rec'] = $RecID;
}

Changes the way you view the table, can be adapted to display the selected row in edit mode directly

 
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