Setup
How to setup Superflow with Drupal
1) Enter Your Site URL
Enter the site URL you want Superflow to be installed in.
2) Select Other from the list of Platforms
Choose Other from the list of options to install Superflow with Drupal.
3) Copy your unique Superflow code
You can copy your unique Superflow code from the onboarding flow or from your project settings in your dashboard.
4) Go to your Drupal Admin Panel and configure the page structure to add your Superflow code snippet
In your Drupal Admin Panel, click on Manage in the top left corner and then click on Structure and then Block Layout.
Next, scroll down and click on Footer Bottom”
A pop up will appear. Inside the popup, click on + Add Content Block.
5) Enter Your Superflow Code Snippet
Under “Block description” add “Superflow Toolbar Block” or any name as block description.
Then, in the “Text format” dropdown below Body text editor, select “Full HTML” .
After that, in the Body text editor, click the “Source” option and paste your code there.
Lastly, click the “Save” button.
You’ll then be taken to another configuration page.
On this page, uncheck the “Display Title” checkbox.
Then select “Footer Bootom” in the Region dropdown.
Lastly, click the “Save Block” button.
After completing above steps successfully, you would see “Superflow Toolbar Block” added in “Footer Bottom” section as shown in below screenshot.
Be sure to click on “Save Blocks” to finalize your changes.
6) Verify your Installation
Verify your Superflow installation by clicking the “Yes, I’ve Published” button and then the “Verify Install” button on the onboarding flow.
If successful, you should be redirected to your published Drupal site and see the following success message:
7) Troubleshooting
Having trouble getting your verifying your installation? Here are the common mistakes users encounter when installing Superflow:
- Did you forget to save the Custom Code?
- Did you forget to publish your site?
- Is the browser still loading a cached version?
- Did you add
?review=true
at the end of your url? - Did you publish your changes on a staging URL while you are trying to access a Prod URL?
- Did you accidentally install multiple Superflow scripts in the Custom Code?
- Ensure that your website changes have actually been published. You should see be able to see Superflow JS tag in your dev console DOM tree.
- Sometimes the browser is loading the older cached version of your website, so check if you are able to see the Superflow script tag.
- If you still don’t see the toolbar at the bottom right of your website, open dev console to see if there are any errors from Superflow?
8) Navigate to your Drupal site
Now that you have verified that Superflow has been installed on your Drupal site, navigate to your published site and add ?review=true
at the end of the URL to enable Superflow.
Example: mywebsite.drupal.com/?review=true
9) Test out Superflow
You should now see a Superflow toolbar on the bottom right of you screen.
10) Dropping your first comment
Try leaving a comment on your page.
You can leave a comment in several different ways:
- By highlighting any text
- By hovering over any element on the page
- By drawing a box anywhere on the page
You can also leave voice and screen recordings in your comments as well!