- Yii 1.1.12
- Demo blog application which is supplied with Yii framework. The extension requires Post and Comment models from that application.
Clone repository from Github project page. Copy the files to extensions folder in your application. If extensions folder does not exists, create it under your protected folder.
//to render archivelist widget $this->beginWidget('ext.blogSidebar.ArchiveList'); //to render MostCommented widget $this->beginWidget('ext.blogSidebar.MostCommented'); //to render RecentPosts widget $this->beginWidget('ext.blogSidebar.RecentPosts');