blogsidebarwidgets

Three common widgets for blog sidebar. You will find recent posts, most commented posts and blog archive.
4 followers

This extension includes a few common widgets which you can use in your blog sidebar. There are widgets to display recent posts, list most commented posts and to display blog archives. Blog archives use javascript file with which toggling functionality is added to list elements. User can hide/show selected month for example.

Requirements

  • Yii 1.1.12
  • Demo blog application which is supplied with Yii framework. The extension requires Post and Comment models from that application.

Usage

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');

Resources

Be the first person to leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet