side playlist working, need to add to search page as well.

This commit is contained in:
naomiaro 2010-12-21 17:47:51 -05:00
parent 83d8975110
commit 055f541657
3 changed files with 4 additions and 8 deletions

View file

@ -12,17 +12,13 @@ class SideplaylistController extends Zend_Controller_Action
$this->_redirect('login/index');
}
//$ajaxContext = $this->_helper->getHelper('AjaxContext');
//$ajaxContext->addActionContext('event-feed', 'json')
// ->initContext();
$this->pl_sess = new Zend_Session_Namespace(UI_PLAYLIST_SESSNAME);
}
public function indexAction()
{
$this->_helper->layout->setLayout('sidebar');
$this->_helper->viewRenderer->setResponseSegment('sidebar');
$this->_helper->viewRenderer->setResponseSegment('spl');
$pl_sess = $this->pl_sess;

View file

@ -13,7 +13,7 @@
<div id="content"><?php echo $this->layout()->content ?></div>
<div id="sidebar"><?php echo $this->layout()->sidebar ?></div>
<div id="side_playlist"><?php echo $this->layout()->spl ?></div>
</body>
</html>