fb-like-box Yii extension for facebook Like box with custom attributes like - show header, post, user faces, layout etc.

  1. Requirements
  2. Install
  3. Usage
  4. Download
  5. Usual parameters to be adjusted:
  6. More Extension

Yii extension for facebook Like box with custom attributes like - show header, post, user faces, layout etc. It's simple and less code extension but work great.

Requirements

Tested with Yii 1.1.14

Install

  • Download the latest release package
  • Unpack it in /protected/extensions/ folder

Usage

Paste the code into your main.php page or also you can use this code as per your requirement on any page.

$this->widget('application.extensions.fbLikeBox.fbLikeBox', array(
        'likebox' => array(
		'url'=>'https://facebook.com/yiiexperts',
		'header'=>'true',
		'width'=>'300',
		'height'=>'500',
		'layout'=>'light',
		'show_post'=>'false', 
		'show_faces'=>'true',
		'show_border'=>'true',
	 )
  ));

Download

https://github.com/rohitsuthar/fbLikeBox

Usual parameters to be adjusted:

  • url: Your facebook page link (url: http://www.facebook.com/fb_page)
  • header: Display like box header (header: true, false)
  • width: Like box width (in digit: 300)
  • height: Like box height (in digit: 500)
  • layout: Like box layout background (layout: light, dark)
  • post/stream: Display page post (show_post: true, false)
  • faces: Show user faces (show_faces: true, false)
  • border: show box border (show_border: true, false)

More Extension

Visit - www.yiiexpert.github.io

0 0
4 followers
385 downloads
Yii Version: all
License: BSD-2-Clause
Category: Web Service
Developed by: Rohit Suthar
Created on: Jun 27, 2014
Last updated: 4 years ago

Downloads

show all

Related Extensions