Re: [fw-general] application.ini - config controllers and layouts, but not pages?

2009-09-20 Thread Hector Virgen
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:

Re: [fw-general] application.ini - config controllers and layouts, but not pages?

2009-09-18 Thread Shaun Farrell
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.

Re: [fw-general] application.ini - config controllers and layouts, but not pages?

2009-09-18 Thread Artsemis
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

Re: [fw-general] application.ini - config controllers and layouts, but not pages?

2009-09-18 Thread Kyle Spraggs
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

Re: [fw-general] application.ini - config controllers and layouts, but not pages?

2009-09-18 Thread Shaun Farrell
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

[fw-general] application.ini - config controllers and layouts, but not pages?

2009-09-17 Thread Artsemis
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:

Re: [fw-general] application.ini - config controllers and layouts, but not pages?

2009-09-17 Thread Matthew Weier O'Phinney
-- 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

Re: [fw-general] application.ini - config controllers and layouts, but not pages?

2009-09-17 Thread Artsemis
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