-- Juan Felipe Alvarez Saldarriaga <[EMAIL PROTECTED]> wrote
(on Monday, 23 April 2007, 08:17 AM -0500):
> I'm trying to make a _forward to another controller:
> 
> $this->_forward( 'admin', 'login', null, array( 'url' => 
> $_SERVER['REDIRECT_URL'] ) );
> 
> But nothing happend, always go to the bootstrap, I'm naming worng the 
> controller name or something ?

A few questions:

 * What controller/action pair do you want to forward to, exactly?
   Based on the above, you're trying to forward to /login/admin, i.e.,
   LoginController::adminAction().

 * Are you using modules at all? If not, then using null for the third
   argument is fine; otherwise, you should specify 'default' or the
   actual module name under which the controller resides.

 * Finally, what do you mean by "always go to the bootstrap"?
   IndexController::indexAction()?

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to