insert redirect back to tab help

Any tips and tricks that has to with the ADDT that doesn't fit into one of the other categories
mrhankey
Posts: 45
Joined: 2010-07-31 18:20

insert redirect back to tab help

Post by mrhankey » 2011-06-24 11:41

hi,

i have a pag which has 4 spry tabs on it. each with an insert record. on my redirect after insertit goes back to the page it was on which is great but i want it to go back to the tab it was on as it always defaults to the first tab.

is there a way to ahve it redirect to that tab?

thanks

mrhankey
Posts: 45
Joined: 2010-07-31 18:20

Re: insert redirect back to tab help

Post by mrhankey » 2011-07-06 14:57

hi guys,

i have worked out how to do the reirection back to tab when inserting however i cannot get the uplaod behaviour redirect to work properly.

i tried modifying the line to ahve this now:

//start Trigger_Redirect trigger
function Trigger_Redirect(&$tNG) {
$redObj = new tNG_Redirect($tNG);
$redObj->setURL("clients_Detail_user.php?ClientID={WADAclients.ClientID}#tabs-11");
$redObj->setKeepURLParams(false);
return $redObj->Execute();
}
//end Trigger_Redirect trigger

but does not redirect to that tab.

it works on insert behaviours no problem. can anyone help?

thanks

mrhankey
Posts: 45
Joined: 2010-07-31 18:20

Re: insert redirect back to tab help

Post by mrhankey » 2011-07-15 10:32

i have managed to resolve the redirect of insert transactions into a table to the appropriate tab by just putting tab#1 etc

however i cannot get this to work with multi upload behaviour.

can anyone shed some urgent light on this?

i tried modifying the upload behavoiur code redirect manualy but it did not resolve.

any help woudl be great.

cheers

mrhankey
Posts: 45
Joined: 2010-07-31 18:20

Re: insert redirect back to tab help

Post by mrhankey » 2011-07-16 20:30

anyone shed any light on this one?

cheers

Post Reply