Good question .. when I want to do something like this (like loggin actions), I just use AJAX. And I know that this is not what you wanted, but listen to me. I also had a problem 4 times, and I used AJAX, and because of this, I managed to install preloader (which is really cool and useful :))
"Use ajax" I mean, if you have 4 actions to show 4 ajax requests. I know that this is not the most elegant solution (as you do a lot of unnecessary things), but it is a good constructive solution.
source
share