Exception e wrote:
> 
> Because the other sublists of zend-framework refuse to process my
> messages, I am forced to post it here.
> Maybe someone can explain why all messages keep pending? I hate this >-(
> 
> 
> == > Here is my question:
> 
> 
> I have a default module defined in application.ini
> 
> resources.frontController.defaultModule = "pagina"
> 
> I am able to dispatch to this resource if I have the initAutoload
> disabled.
> 
> 1) What is Zend_Application_Module_Autoloader intended for? I am moving to
> the Zend_Application approach of bootstrapping. Pfew zf has become rocket
> science
> 
> 2) How can I have the controllers in my default module as  
> 
>    Pagina_IndexController etc ?
> 
> instead of
>  
>    IndexController
> 
> Having no module prefix makes switching of a modules to be default very
> cumbersome: you need to rename all controllers
> 
> 
> 
> The disabled Zend_Application_Module_Autoloader:
> 
>     /**
>      * Bootstrap autoloader for application resources
>      *
>      * @return Zend_Application_Module_Autoloader
>      */
> //    protected function _initAutoload()
> //    {
> //        $autoloader = new Zend_Application_Module_Autoloader(array(
> //            'namespace' => 'Default',
> //            'basePath'  => dirname(__FILE__) ,
> //        ));
> //        return $autoloader;
> //    }
> Because the other sublists of zend-framework refuse to process my
> messages, I am forced to post it here. Maybe someone can explain why all
> messages keep pending?
> 

Do you have "resources.frontcontroller.params.prefixDefaultModule = true" in
your ini file?
And in _initAutoload, the namespace parameter should be "Pagina", no?


-- 
View this message in context: 
http://n4.nabble.com/Howto-have-the-default-module-controllers-with-module-prefix-tp663509p679702.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to