Drupal Integration

To integrate Drupal with SolidOpinion follow the steps below:  

Step 1. Log in to your SolidOpinion account.

Step 2. Click on the "Your sites" tab.

Step 3. Type the site shortname you need into the "Search the site" field:



Step 4. Click on the "Settings" button.


Step 5. Select the "Embed" tab in the dashboard for the recently added website. Read the SolidOpinion Publisher agreement and click the "I agree" button at the bottom of the page. Copy the provided embed code.


Step 6.  Open the Drupal installation folder.

Step 7.  Find the file comment-wrapper.tpl.php usually locates in themes\template_name\templates\comment-wrapper.tpl.php

Step 8.  Add the embed code the following way:


Step 9.  See below for the embed code example:

<div class="so_comments" data-sitename="YourSiteShortname"></div>
<script src="//embed.solidopinion.com/so_wl.js" async="async" data-auto-start="true" ></script>
<noscript>Please enable JavaScript to view the <a href="http://solidopinion.com/">comments powered by SolidOpinion.</a></noscript>

 

Happy commenting!
SolidOpinion

Feedback and Knowledge Base