Welcome Guest, Not a member yet? Register   Sign In
How to call a controller from another controller ?
#7

[eluser]Twisted1919[/eluser]
@juanvillegas & @johnpeace you are both wrong because you didn't understood what he really wants.
He wants to have something like a sidebar displaying the categories and for that to happen, he needs to generate the content of that from the Categories Controller not from the Blog controller, therefore what he needs cannot be done with a redirect() or whatever, but with generating the content by calling a method of the categories controller(and this can be done as i suggested)


Messages In This Thread
How to call a controller from another controller ? - by El Forum - 02-16-2011, 10:04 AM
How to call a controller from another controller ? - by El Forum - 02-16-2011, 10:25 AM
How to call a controller from another controller ? - by El Forum - 02-16-2011, 10:37 AM
How to call a controller from another controller ? - by El Forum - 02-16-2011, 12:43 PM
How to call a controller from another controller ? - by El Forum - 02-16-2011, 03:27 PM
How to call a controller from another controller ? - by El Forum - 02-16-2011, 05:41 PM
How to call a controller from another controller ? - by El Forum - 02-17-2011, 06:04 AM
How to call a controller from another controller ? - by El Forum - 02-17-2011, 06:29 AM
How to call a controller from another controller ? - by El Forum - 02-17-2011, 06:58 AM
How to call a controller from another controller ? - by El Forum - 02-17-2011, 07:01 AM
How to call a controller from another controller ? - by El Forum - 02-17-2011, 07:02 AM
How to call a controller from another controller ? - by El Forum - 02-17-2011, 07:09 AM
How to call a controller from another controller ? - by El Forum - 02-17-2011, 08:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB