Thursday, April 23, 2009

change the view/template path of Zend Controller Action.

Changing the path of a view template for the given action is not that tough.

You can do it using the following code snippet:

$path = "add_the_path_to_render_the_template"
$this->view->addScriptPath($path);

isn't it simple?

No comments: