A simple way to incorporate DISQUS into your CodeIgniter application via Sparks.
- CodeIgniter
- Sparks installed to CI application
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.
Add the below code into your view:
$this->disqus->get_html();
This will embed the JavaScript which loads and displays DISQUS on your site.
This is the first spark that I have made so feel free to give me any feedback/advice/guidance.