How to use global view files in Zend Framework?
Posted
by terrani
on Stack Overflow
See other posts from Stack Overflow
or by terrani
Published on 2010-05-09T00:22:10Z
Indexed on
2010/05/09
0:28 UTC
Read the original article
Hit count: 542
Hi,
I am trying to use global or shared view files. Let's say I have a module in
Application/Modules/default
and I have "IndexController.php" inside "default/controllers"
within "IndexController", I would like to render a view that is located in "Application/Views". I tried to use addScriptPath, but Zend_View tries to look "Application/Views/index" directory.
How do I eliminate "index" ?
© Stack Overflow or respective owner