This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Possible source of error: My project is set up with modules, so my views are in a different location, they live in: application/modules/[module name]/views/scripts/[controller name]/ I looked around the options to find a setting to change/investigate what the IDE is doing, but I couldn't find anything.
How the [module name] can be recognized? Could you please paste here your relative paths for: - controller (action), e.g. application/controllers/IndexController.php - view, e.g. application/views/scripts/index/index.phtml How is it if one has modules, please? Thanks.
I hope the formatting doesn't get mangled, here is my project layout: application configs layouts scripts partials models modules default controllers IndexController.php views scripts index index.phtml about auth admin controllers views scripts index user controllers views scripts index other controllers views scripts index config library public The examples you posted are: For module 'default' - controller application/modules/default/controllers/IndexController.php - view application/modules/default/views/scripts/index/index.phtml For module 'sales' - controller application/modules/sales/controllers/IndexController.php - view application/modules/sales/views/scripts/index/index.phtml This *isn't* the only way of doing modules in ZF, but I think it is the most common. cheers, monk.e.boy
Thanks a lot, I will look at it.
BTW is there any documentation for modules in FZ? In other words, is there any official guide how to use modules in your ZF application? Thanks.
Well, I have found [1] so not sure what to support... [1] http://framework.zend.com/manual/en/zend.controller.modular.html
(In reply to comment #5) > Well, I have found [1] so not sure what to support... My mistake - it seems that "application/modules" is the official way. Thanks.
Well, it works for me in the current development version of NetBeans. Please, try it and reopen if it does not work for you. Thanks. Product Version: NetBeans IDE Dev (Build 20120412-9eb622838cd5) Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01 System: Linux version 3.0.0-17-generic running on amd64; UTF-8; cs_CZ (nb)
BTW please notice that you must be _inside_ the action method (clicking on the method name does not work). Thanks.