-- Charles Harley <[EMAIL PROTECTED]> wrote
(on Thursday, 23 August 2007, 12:39 PM +0100):
> I'm developing a site with default controllers that has the same name as 
> some of the modules. This is done because I need to have links such as 
> the following:
> 
> www.domain.com/clients/index
> www.domain.com/clients/subscribe
> www.domain.com/clients/jobs/index
> 
> I know I can just create an index controller and a subscribe controller 
> as part of the clients module but it would be neater if I was able to 
> create a clients controller as part of the default module that then just 
> has actions for index and subscribe and then create the jobs controller 
> as part of the clients module. Is it possible to configure the framework 
> to work this way?

Use a custom route to map the URLs you want to the appropriate actions
in the module's index controller.

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

Reply via email to