Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-18-2008, 06:10 PM
Junior Member
 
Join Date: Mar 2008
Posts: 1
Default Changing the default Views directory

Hello,

I am working on a project that will control multiple carts, and I need to have a way to change which directory the script pulls the templates from...could someone tell me how to change the views directory location, or point me in the right direction? It seems the view renders before my attempt to change the location changes.


Thanks,

TJ
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-01-2008, 07:26 AM
Junior Member
 
Join Date: Mar 2008
Location: BC
Posts: 6
Default

See ZF Manual: Zend Framework: Documentation under section 42.2.3 "View Script Paths"

In summary it explains how you can set the path with $view->setScriptPath('/path/to/views');
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:29 PM.