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  »  Question about "Persist"

phpMyEdit Configuration     Question about "Persist"
Odoslať novú tému   Odpovedať na tému    
 
jakerbug     Založený: 25.07.2008   Príspevky: 9  
Príspevok Zaslal: 2008-07-29 18:15
Návrat hore  Odpovedať s citátom     

I would love it if I wasn't constantly getting the old "we need to resend your information" messages when i reload or go back to a page after performing a query. Is there any way to avoid this? Is this was $opts['cgi']['persist'] does?

At the very least, I'd like to be able to return to a query after editing an entry. For instance, when I search for "Marriott" in my "hotels" field, I get a list of marriott properties. If I click on one, edit it, and save, I'm taken back to my default view - i'd like to go right back to the "Marriott" query...

 
jakerbug     Založený: 25.07.2008   Príspevky: 9  
Príspevok Zaslal: 2008-07-30 15:11
Návrat hore  Odpovedať s citátom     

hi doug - it's happening in IE7, Firefox, and Safari on XP. (Opera doesn't do it, but who the heck uses Opera...) I'm pretty sure it did it right from the jump - i don't think i touched anything that would have messed it up.

you're saying i shouldn't get those messages and that it should perform the way I want it to? Refreshing a page after a query has been done shouldn't prompt any messages?

these guys:
Image

 
jakerbug     Založený: 25.07.2008   Príspevky: 9  
Príspevok Zaslal: 2008-07-30 15:49
Návrat hore  Odpovedať s citátom     

yes - i have both of those intact...

Kód:
// Show search options by default - NOT AN OUT OF BOX OPTION... ADDED by JB 7/16/08
$opts['cgi']['append']['PME_sys_fl'] = 1;

// Log user actions - NOT AN OUT OF BOX OPTION... ADDED by JB 7/25/08
$opts['logtable'] = 'changelog';
// $loginuser is a variable created by the protection script - independant of PME
if(empty($_SERVER['REMOTE_USER'])) { $_SERVER['REMOTE_USER'] = $loginuser; }

// Type of key field (int/real/string/date etc.)
$opts['key_type'] = 'int';

// Sorting field(s)
$opts['sort_field'] = array('id');

// Number of records to display on the screen
// Value of -1 lists all records in a table
$opts['inc'] = '20';

// Options you wish to give the users
// A - add,  C - change, P - copy, V - view, D - delete,
// F - filter, I - initial sort suppressed

// MAKE THIS WORK WITH MULTIPLE USERS
/*if($loginuser == 'jake') $opts['options'] = 'ACDPVFL';  else $opts['options'] = 'VFL';*/

$opts['options'] = 'ACPVDF';


here's what i see before i edit a record and hit save (or even just "cancel" out):
Image

then afterward i go back to the initial view...

 
jakerbug     Založený: 25.07.2008   Príspevky: 9  
Príspevok Zaslal: 2008-07-30 16:05
Návrat hore  Odpovedať s citátom     

just so that i know... it IS SUPPOSED TO work the way i describe? queries should still be active after i edit a record?

if so, i'll work backward and see if i can figure out where it happened.

 
rimmo69     Založený: 08.07.2008   Príspevky: 9  
Príspevok Zaslal: 2008-07-30 23:04
Návrat hore  Odpovedať s citátom     

I also loose my query after editing or just cancelling.
I get to the edit page by clicking on the text I want to edit (URL linking)

Then I discovered that if I click on the radio button next to the row I want to edit, then click on the edit button at the top of the page... my query is still there afterwards.

So you are not alone.

I might be able to figure out why this is happening to me and if it is related to your situation I'll post here.

Anyone else in this situation or have been?

Bloody wonderful script if I can just get this last thing to work for me even when I click on the URL linked text I want to edit.

 
rimmo69     Založený: 08.07.2008   Príspevky: 9  
Príspevok Zaslal: 2008-07-31 00:22
Návrat hore  Odpovedať s citátom     

This is the link properties for the graphical link to the edit page. Works fine.

http://www.rimmo.dk/phpMyEdit/medico.php?PME_sys_fl=1&PME_sys_fm=0&PME_sys_sfn[0]=-1&PME_sys_operation=PME_op_Change&PME_sys_qf8=1541&PME_sys_rec=101182

This is the URL linked text I want to be able to click on and edit and return to my query.

http://www.rimmo.dk/phpMyEdit/medico.php?PME_sys_fl=0&PME_sys_fm=0&PME_sys_sfn[0]=0&PME_sys_operation=PME_op_Change&PME_sys_rec=101182

I can see its missing the filtering info, so thats why when returning to the list the query is dropped. Any ideas?? I'm next to useless with editing these php scripts.

 
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