Welcome Guest, Not a member yet? Register   Sign In
Switching Controllers
#1

[eluser]Freewolf[/eluser]
Greetings All,

Is there a way to switch controllers from inside another controller.

I want to switch controllers and show a certain sub function (page) if there is a certain variable passed in another controller.

Am I making sense here?
#2

[eluser]WanWizard[/eluser]
Redirect to the new controller?
#3

[eluser]Freewolf[/eluser]
Yes that is exactly what I want to do.

Basically I set up a custom 404 page so that it can work with our templating system.
Rather than be hard coded.

If certain conditions are met in a controller I want to display that 404 method from the other controller that I made.




Theme © iAndrew 2016 - Forum software by © MyBB