Or, if the layoutpath is set correctly ($layout->setLayoutPath('application/layouts/scripts')), use $this->_helper_layout->setLayout('alternative_layout') to reference application/layouts/scripts/alternative_layout.phtml.
–
chelmertzOct 23 '09 at 21:29

@Travis: I wouldn't want that kind of logic in a view script unless you only got a really small number of view scripts so you know where to debug for these application critical settings.
–
chelmertzOct 23 '09 at 22:52

Do you know how to switch this from the bootstrap class instead.
–
StarxMay 13 '11 at 6:42

Best to do an absolute path if you are having problems with pathing: $layout->setLayoutPath(APPLICATION_PATH . 'layouts/scripts');
–
Zachary SchuesslerAug 23 '12 at 14:12