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

  1. Requirements
  2. Usage
  3. Resources

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

2 0
2 followers
0 downloads
Yii Version: Unknown
License: BSD-2-Clause
Category: User Interface
Developed by: PintarProgramming
Created on: May 14, 2013
Last updated: 4 years ago

Related Extensions