Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 30. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  URL link posting filter data from form!

phpMyEdit Configuration     URL link posting filter data from form!
Odoslať novú tému   Odpovedať na tému    
 
rimmo69     Založený: 08.07.2008   Príspevky: 9  
Príspevok Zaslal: 2008-08-01 11:13
Návrat hore  Odpovedať s citátom     

Medical electronics equipement database.
http://www.rimmo.dk/phpMyEdit/medico.php

username pme
password PME

On the site above I have used URL to link to the edit page...
What I would like is for the filter data to be submitted to the edit page when I click on a line in list view. This way I will not loose the query after editing. Everything works fine with the buttons. This makes it a lot less hand eye coordinating stress full.

Nurses and doctors have enough stress with loads of other crap systems at this hospital.... If we can figure this out then pme will be the only stressless system in the hospital.

I know the solution is something to do with concating the form data to the URL, but I'm just useless at creating the right code. I can tweak but not create.

PS the user pme can only view Intensiv cares equipment and not edit only view. The linked lines in list view are pointing at the edit page... so these links will not work for you.

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2008-08-01 13:00
Návrat hore  Odpovedať s citátom     

it looks like you are clicking from one page to another. good luck with passing all the parameters...

if you want just to duplicate Change button, have a look at $url variable in link

http://opensource.platon.sk/projects/doc.php/phpMyEdit/html/configuration.url-linking.html

 
rimmo69     Založený: 08.07.2008   Príspevky: 9  
Príspevok Zaslal: 2008-08-01 16:12
Návrat hore  Odpovedať s citátom     

Ok now there is a demo site where anyone interested can mess around with this problem.... no limitations just edit and don't worry.

http://www.rimmo.dk/phpMyEdit/medicopme.php
username pme
password PME

You'll see that filtering works fine with the buttons, but if a line is clicked in the list view... after editing the filter and sort is lost. Clicking the lines is much easier for stressed out computer mongols.

That is because my fields are using URL to open the change page and I've no idea how to concact the forms post variables onto the URL.

Please help me or some of these lovely nurses at my hospital.... You never know I might even get laid and I'll thank everyone who helped!


$opts['fdd']['Inventar'] = array(
'URL' => './medicopme.php?PME_sys_fl=0&PME_sys_fm=0&PME_sys_sfn[0]=0&PME_sys_operation=PME_op_Change&PME_sys_rec=$key',

'name' => 'Inventar',
'default' => $newinventar,
'select' => 'T',
'maxlen' => 64,
'sort' => true,
'help|ACP' =>'<a href=help.php target=_blank> Medicoteknisk afd. Inventar no</a>'
);

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2008-08-01 16:31
Návrat hore  Odpovedať s citátom     

just add '&$url' to the URL option.

 
rimmo69     Založený: 08.07.2008   Príspevky: 9  
Príspevok Zaslal: 2008-08-02 12:36
Návrat hore  Odpovedať s citátom     

Thats great it works....
You have no idea how much this helps these people over here, being able to just click anywhere on a line in the list..Reduces mistakes and stress.
Cheers Michal

 
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