-- Vadim Gabriel vadim...@gmail.com wrote
(on Saturday, 20 June 2009, 06:26 PM +0300):
This is my function
public function indexAction()
{
$this-view-render('C:/wamp/www/77workshop/application/modules/cp/
views/default/login/index.phtml');
First problem: calling
Hey, Thanks for the reply.
first login.phtml is a layout and it resides in
C:/wamp/www/77workshop/application/modules/cp/views/default/layouts/
second i added the
C:/wamp/www/77workshop/application/modules/cp/views/default/ as the views
path, Why can't it find it if i am using the render method
This is my function
public function indexAction()
{
$this-view-render('C:/wamp/www/77workshop/application/modules/cp/views/default/login/index.phtml');
}
And i get the following error:
br /
bFatal error/b: Uncaught exception 'Zend_View_Exception' with
message 'script 'login.phtml' not
function to render a view script by passing a full path to it's location,
Does something like this exists?
--
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.
Zend Framework Certified Engineer.
-- http://www.vadimg.co.il/
-- Vadim Gabriel vadim...@gmail.com wrote
(on Friday, 19 June 2009, 10:30 PM +0300):
function to render a view script by passing a full path to it's location, Does
something like this exists?
You can pass a full path to render() already...
--
Matthew Weier O'Phinney
Project Lead|
Well it doesn't work. if i pass a full path and the file exists for some
reason it searches it in the default views/scripts/ directory which i don't
have. And then an exception is raised that the view was not found. Although
i configured the paths.
On Fri, Jun 19, 2009 at 11:01 PM, Matthew Weier