CodeIgniter Forums
show_error => show_succes? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: show_error => show_succes? (/showthread.php?tid=4726)



show_error => show_succes? - El Forum - 12-12-2007

[eluser]A.M.F[/eluser]
hi,

i want to build a succes page, that says somthing like "your action is accomplished. you are beeing redirected, please wait"m something like the "error handling".

is there a way to do it?


show_error => show_succes? - El Forum - 12-12-2007

[eluser]sikkle[/eluser]
You have several choice, on the same page make appear a message from kind of session flash.

or you can have a success page ready for everythings, a controller you use to show the same view with dynamic messages, and just redirect after a sleep or something you want.

but still we are far far than ajax now Smile

good luck !


show_error => show_succes? - El Forum - 12-12-2007

[eluser]A.M.F[/eluser]
ajax? i didn't mention ajax.
but ok then, i'll try to do something like u said. thank u!


show_error => show_succes? - El Forum - 12-12-2007

[eluser]gtech[/eluser]
easy way...

say you fill out a form..

submit to a page/view with an animated gif.. that says somthing like "please wait blah blah " and in that view redirect to your page that takes a while to processes. I believe a page does not get displayed until all the content is worked out.


show_error => show_succes? - El Forum - 12-13-2007

[eluser]A.M.F[/eluser]
[quote author="gtech" date="1197512353"]easy way...

say you fill out a form..

submit to a page/view with an animated gif.. that says somthing like "please wait blah blah " and in that view redirect to your page that takes a while to processes. I believe a page does not get displayed until all the content is worked out.[/quote]

yes but then i would have the same theme for this redirection page (i am using YATS)