Skip to content

inverse/disqus-spark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Disqus Spark

A simple way to incorporate DISQUS into your CodeIgniter application via Sparks.

Requirements

  1. CodeIgniter
  2. Sparks installed to CI application

Documentation

First add your DISQUS shortname (disqus_shortname) to the disqus config file

$config['disqus_shortname'] = 'YOUR_SHORTNAME_HERE';

Note: Make sure to set disqus_developer to 0 when deploying live site.

Usage

Add the below code into your view:

$this->disqus->get_html();

This will embed the JavaScript which loads and displays DISQUS on your site.

Endnote

This is the first spark that I have made so feel free to give me any feedback/advice/guidance.

About

A simple way to incorporate DISQUS into your CodeIgniter application via sparks

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages