Page 1 of 1

redirect

Posted: 2022-11-23 12:11
by utony
looking for help on the redirect. Right now my user has to click the back button after clicking save, I would like the record to take them right back to the TV. Suggestions, code help, placement would be much appreciated.

Re: redirect

Posted: 2022-11-23 12:33
by jsetzer
What about redirecting in TABLENAME_after_update-hook?

(replace 'TABLENAME')

Code: Select all

function TABLENAME_after_update($data, $memberInfo, &$args)
{
    redirect("https://appgini.bizzworxx.de/blog", true);
}
Result
ezgif.com-gif-maker.gif
ezgif.com-gif-maker.gif (105.68 KiB) Viewed 3371 times

Re: redirect

Posted: 2022-11-23 13:57
by utony
geniuses thanks JS!!!!!!!!!!!!!!!!

Re: redirect

Posted: 2023-03-21 00:50
by jfehr
That is exactly what I was looking for. Thank you.