Hi,

To be honest i use ZF 1.8 with the old way of loading modules. I just edited
the autoloader to reflect the new autoloader and added some custom module
autoloaders which works just as good as the bootstrap classes without the
hassle of updating the code.

I can then just go in any place and do $view =
customLoader::getClass('view'); and it will return me an instance of the
view same for all other resources i use. I just find this easier then
struggliing with the bootstraping.

$0.2

On Mon, Jun 1, 2009 at 5:49 PM, monk.e.boy <[email protected]>wrote:

>
> Hi,
>
>  I moved from 1.7 to 1.8.2, but I am really struggling to get my modules to
> work.
>
>  I have an application, and a module in it called 'Projects'. My old code
> looked like this:
>
> $frontController->setControllerDirectory(array(
>        'default'=>             '/var/www/ZF-apps/controllers',
>        'projects'=>    '/var/www/ZF-apps/projects/controllers'
>        ));
>
> and it all worked OK.
>
> Where do I tell the app that it has a module? I tried to use the zf.bat
> file
> but I can't find the documentation and it just gives me errors :(
>
> Thanks,
>
> monk.e.boy
> --
> View this message in context:
> http://www.nabble.com/struggling-to-get-modules-working-tp23816225p23816225.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


-- 
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.
Zend Framework Certified Engineer.
-- http://www.vadimg.co.il/

Reply via email to