You can configure the default base path of your views by adding this line to
your application.ini:
resources.view.basePath = APPLICATION_PATH /views/scripts
Check out this page for more information:
Artsemis,
Check out this
http://framework.zend.com/manual/en/zend.view.controllers.html
I also think you can override the viewRenderer. Below is an example from
framework.zend.com and shows how to use smarty. I assume if you just change
the setViewBasePathSpec to your dir that might work.
Shaun Farrell wrote:
Artsemis,
Check out this
http://framework.zend.com/manual/en/zend.view.controllers.html
I also think you can override the viewRenderer. Below is an example from
framework.zend.com and shows how to use smarty. I assume if you just
change
the setViewBasePathSpec
Artsemis wrote:
Shaun Farrell wrote:
Artsemis,
Check out this
http://framework.zend.com/manual/en/zend.view.controllers.html
I also think you can override the viewRenderer. Below is an example from
framework.zend.com and shows how to use smarty. I assume if you just
change
Yeah i assume that would work too. The ZF Manula says
In fact, you can stack paths using the addScriptPath() method. As you add
paths to the stack, Zend_View will look at the most-recently-added path for
the requested view script. This allows you override default views with
custom views so that
As implied by the subject, why do you config the base directory here for most
things (specifically controllers) but can't for pages? Where can you change
the path to pages?
--
View this message in context:
-- Artsemis artse...@gmail.com wrote
(on Thursday, 17 September 2009, 01:28 PM -0700):
As implied by the subject, why do you config the base directory here for most
things (specifically controllers) but can't for pages? Where can you change
the path to pages?
What do you mean by pages? Since
Matthew Weier O'Phinney-3 wrote:
-- Artsemis artse...@gmail.com wrote
(on Thursday, 17 September 2009, 01:28 PM -0700):
As implied by the subject, why do you config the base directory here for
most
things (specifically controllers) but can't for pages? Where can you
change
the path to