google-plus-badge Yii extension for Google plus badge with custom attributes.

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

Yii extension for Google plus badge with custom attributes like - show tag line, theme, cover photo, layout etc. It's simple and less code extension but work great.


Tested with Yii 1.1.14


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


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.GooglePlusBadge.GooglePlusBadge', array(
        'gbadge' => array(

Usual parameters to be adjusted:

  • url: Your google plus page link (url:
  • width: Badge box width (in digit: 300)
  • theme: Badge box layout background (layout: light, dark)
  • layout: Badge box layout background (layout: portrait, landscape)
  • tagline: Display page tag line (show_faces: true, false)
  • coverphoto: Show background cover photo (show_border: true, false)

More Extension

Visit -

0 0
Yii Version: all
License: BSD-2-Clause
Category: Web Service
Developed by: Rohit Suthar
Created on: Jul 4, 2014
Last updated: 7 years ago


show all

Related Extensions