Go To Windows –> Preferences
Open the Keys window under General Category
In search box type Next Editor
In Binding box press CTRL + TAB
Done
Go To Windows –> Preferences
Open the Keys window under General Category
In search box type Next Editor
In Binding box press CTRL + TAB
Done
May be you ask why I may need to disable the layout or views. Some times I am not outputting a normal page but XML data so I do not need the Layout. Other situations for example when I do migration for the data and I just need to use the controller to do that the view or the layout is not necessary
to disable the layout and view renderer in specific action use the following methods
$this->_helper->layout()->disableLayout(); $this->_helper->viewRenderer->setNoRender(true);
If you want to disable them in every action on specific controller you can add them to the init() function as it is run before any thing else in the Controller Class
Use the command line tool to create your modules
zf create module mymodule
open application/configs/application.ini
add the following lines to the end of production section of the configration file
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" resources.modules[] = ""
And it should be working now
You may need to create the controllers for your new modules use the following Zend_Tools syntax
zf create controller ControllerName index-action-included=1 mymodule
It was a long time ago when I decided to write in a blog. Never get the time to do that.
I am starting this blog to be my reference for the problems I face in work and life.And how I fix them.
I hope that’s help some one else.