2017 © Pedro Peláez
 

library yiidisquswidget

This is sample widget wich can help you to add DISQUS support in to your Yii site.

image

dexterhd/yiidisquswidget

This is sample widget wich can help you to add DISQUS support in to your Yii site.

  • Friday, August 29, 2014
  • by DexterHD
  • Repository
  • 2 Watchers
  • 2 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

YiiDisqusWidget

This is sample widget wich can help you to add DISQUS support in to your Yii site., (*1)

Requirements

You must be registered on DISQUS, (*2)

Installation

Copy YiiDisqusWidget folder in you protected/extensions folder., (*3)

Usage

Just add this code on your page where you need to include DISQUS. Simple usage:, (*4)

// DISQUS_SHORTNAME - You disqus_shortname from DISQUS.
$this->widget('ext.YiiDisqusWidget.YiiDisqusWidget',array('shortname'=>'DISQUS_SHORTNAME'));

You can change all off disqus_ parameters in options array:, (*5)

var disqus_shortname;
var disqus_identifier;
var disqus_title;
var disqus_url;

Just add it in option array:, (*6)

$this->widget(
    'ext.YiiDisqusWidget.YiiDisqusWidget',
    array(
        'shortname' => 'DISQUS_SHORTNAME',
        'identifier' => 'DISQUS_IDENTIFIER',
        'title' => 'DISQUS_TITLE',
        'url' => 'DISQUS_URL',
        'category_id' => 'DISQUS_CATEGORY_ID',
    )
);

More information about DISQUS variables on http://help.disqus.com/, (*7)

Resources

The Versions

29/08 2014

dev-master

9999999-dev https://github.com/DexterHD/YiiDisqusWidget

This is sample widget wich can help you to add DISQUS support in to your Yii site.

  Sources   Download

The Requires

 

yii widget disqus

29/08 2014

v1.0.1

1.0.1.0 https://github.com/DexterHD/YiiDisqusWidget

This is sample widget wich can help you to add DISQUS support in to your Yii site.

  Sources   Download

The Requires

 

yii widget disqus