To create a nested menu in ZF2 you will need to tell the ZF2 navigation service to use a partial containing code that creates new markup. Here is a step…
Archive
ZF2
Zend framework 2 DomPdf No block-level parent found. Not good. error message
This error can be caused by many things, but the most notable is when attempting to reuse DomPdf to render more than one PDF. This is to do with the…
Zend framework 2 restful CMS
Based on ZF2 Skeleton and the Album tutorial, this ZF2 application extends this further by migrating fully to Doctrine2 and adding comments for Albums as an association. The source code…
ZF2 different layouts in modules
To enable a different layout in a module, to your module.php for the module define a new layout like so public function init(ModuleManager $mm) { $mm->getEventManager()->getSharedManager()->attach(__NAMESPACE__, ‘dispatch’, function($e) { $e->getTarget()->layout(‘admin/layout’);…