its ok!! it works! 2008/9/22 José de Menezes Soares Neto <[EMAIL PROTECTED]>
> Hi Till, > > I read it, but I still messing up the things... look above what I've done, > thanks!* > > What I wish: > * > http://localhost/myzfapp/testing/word > > instead of > > http://localhost/myzfapp/tag/view/query/word > > * > I've put it at my bootstrap (immediately **before dispatching): > * > Zend_Loader::loadClass('Zend_Controller_Router_Route'); > > // Route > // Route > // Route > > $route = new Zend_Controller_Router_Route( > 'testing/:word' > , array( > 'controller' => 'tag' > , 'action' => 'view' > ) > );* > > When I type the url, it gives me the error: > * > <br /> > <b>Fatal error</b>: Uncaught exception > 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller > specified (testing)' in > C:\www\onmasters\lib\Zend\Controller\Dispatcher\Standard.php:249 > Stack trace: > #0 C:\www\onmasters\lib\Zend\Controller\Front.php(946): > Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), > Object(Zend_Controller_Response_Http)) > #1 C:\www\onmasters\index.php(82): Zend_Controller_Front->dispatch() > #2 {main} > thrown in > <b>C:\www\onmasters\lib\Zend\Controller\Dispatcher\Standard.php</b> on line > <b>249</b><br /> > > * > * > 2008/9/22 till <[EMAIL PROTECTED]> > > On Mon, Sep 22, 2008 at 1:49 PM, José de Menezes Soares Neto >> <[EMAIL PROTECTED]> wrote: >> > Hello, >> > >> > Thanks very much, it solves my problem very well... >> > >> > But I am getting difficulties to implement it. >> > >> > Could you please send me a like with clear explanation? A tutorial may >> be? >> >> http://framework.zend.com/manual/en/zend.controller.router.html >> >> This links explains it really well. >> >> Till >> > >