Sidebar on the left side of the browser. slides in on mouse over and slides out automatically when mouse leaves the sidebar.
This left sidebar can be used to display menu or some other useful things in your application.
Copy the folder 'leftsidebar' to protected/extensions
Just type below things in your view file
$this->beginWidget('application.extensions.leftsidebar.leftSidebar'); //your sidebar contents goes here $this->endWidget();
$this->beginWidget('application.extensions.rightsidebar.RightSidebar', array('title' => 'Menu', 'collapsed' => true)); //here you display a cmenu or gridview or any other thing as per your needs. //or you can simply display contents form variable like below echo $var; $this->endWidget();
A demo sidebar available at this location. But it will be a rightsidebar.
I have not add arrow mark in my extention, If you need in your application then i will guide to achieve this.
Further Details are at this location.
I am waiting for valuable comments from users to improve this extension.
I have created an youtube video on Yii framework view it and review it at https://www.youtube.com/watch?v=G7_2tdZRQnE