Tag Archives: layout

New Home Page Layout

I dunno if anybody has noticed this cause most of the visitors come to the blog directly, i have deployed a homepage for the site http://www.php-architect.com , it contains no graphic, just some ajax / css tricks with some theme.
i was obsessed by the idea that i couldn’t wait until i finish the content of the pages, and i deployed it.
waiting for suggestions to improve it and i will upload the content soon.

Render Nothing in Zend Framework

This is useful if u want to have the output without rendering a view or the layout, like in ajax or developing we services

to do that you need to call the following 2 methods in your Action :

$this->_helper->viewRenderer->setNoRender(); // Disable the viewscript
$this->_helper->layout->disableLayout();  // Disable the layout