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


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-24-2008, 04:18 PM
Junior Member
 
Join Date: Apr 2008
Posts: 5
Default many layouts_paths set in bootstrap

Is there any option to have each layout in one dir cofigured in bootstrap file?
Code:
/layouts
../defaultLayout
../one-col-layout
In the app one controller should use layout from defaultLayout dir and other from one-col-layout dir.
Is it possible to set a couple of dir paths where script should look for files?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-24-2008, 07:44 PM
Elemental's Avatar
Senior Member
 
Join Date: Jul 2007
Posts: 119
Default

Preferably it would be setup with:
/layouts/default.php
/layouts/oneColumn.php

Then in the controllers you can do $this->_helper->layout->setLayout('default'); or $this->_helper->layout->setLayout('oneColumn');
__________________
Zend Framework Resources: Zend Webinars | Reference Manual | API Docs | Books | FreeNode: #zftalk
Getting Started Tutorials: Getting started with ZF | Getting started with Zend Auth
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 10:25 AM.