2017 © Pedro Peláez
 

yii2-extension yii2-disqus-widget

DISQUS widget for Yii2.

image

2amigos/yii2-disqus-widget

DISQUS widget for Yii2.

  • Thursday, March 19, 2015
  • by tonydspaniard
  • Repository
  • 16 Watchers
  • 24 Stars
  • 4,869 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 5 Versions
  • 5 % Grown

The README.md

DISQUS Widget for Yii2

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads, (*1)

DISQUS widget helps you to render your DISQUS comments thread or DISQUS comments thread count on your Yii2 applications., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

composer require 2amigos/yii2-disqus-widget:~1.0

or add, (*5)

"2amigos/yii2-disqus-widget" : "~1.0"

to the require section of your application's composer.json file., (*6)

Usage

To display DISQUS comments, (*7)

use dosamigos\disqus\Comments;

echo Comments::widget([
    // see http://help.disqus.com/customer/portal/articles/472098-javascript-configuration-variables
    'shortname' => '{yourforumshortname}',
    'identifier' => 'article_identifier'
]);

To display DISQUS comments count, first setup the link where you wish to display the comments (visit DISQUS integration), (*8)

<a href="http://example.com/#disqus_thread">article</a>

By default Disqus looks up the count using the comment count links href attribute. However, the count can also be looked up using a Disqus identifier:, (*9)

<a href="http://example.com/#disqus_thread" data-disqus-identifier="article_identifier">article</a>

Then is just a matter to render the CommentsCount widget:, (*10)

use dosamigos\disqus\CommentsCount;

CommentsCount::widget([
    'shortname' => '{yourforumshortname}',
    'identifier' => 'article_identifier'
]);

Further Information

Please, check the DISQUS developers documentation for further information about its integration and configuration options., (*11)

Contributing

Please see CONTRIBUTING for details., (*12)

Credits

License

The BSD License (BSD). Please see License File for more information., (*13)

2amigOS!
Web development has never been so fun!
www.2amigos.us, (*14)

The Versions

19/03 2015

dev-master

9999999-dev http://yiiwheels.com/extension/disqus-widget

DISQUS widget for Yii2.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

extension yii2 2amigos yii yii 2 widget disqus

19/03 2015

1.0.1

1.0.1.0 http://yiiwheels.com/extension/disqus-widget

DISQUS widget for Yii2.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

extension yii2 2amigos yii yii 2 widget disqus

19/03 2015

1.0.0

1.0.0.0 http://yiiwheels.com/extension/disqus-widget

DISQUS widget for Yii2.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

extension yii2 2amigos yii yii 2 widget disqus

05/05 2014

0.1.1

0.1.1.0

DISQUS widget for Yii2.

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii widget disqus

04/05 2014

0.1.0

0.1.0.0

DISQUS widget for Yii2.

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii widget disqus