Installing Wheel of Fortune on Drupal

Overview

This guide provides step-by-step instructions for installing the Wheel of Fortune script on a Drupal website. The script is provided as a JavaScript file that can be added to any page on your Drupal site.

Prerequisites

Before getting started, make sure you have the following:

  • A Drupal website
  • Admin access to your Drupal site
  • Your Wheel of Fortune script code, which can be obtained from wheelwidget.com

Installation

  1. Log in to your Drupal site with admin credentials.
  2. From the dashboard, navigate to Structure > Block layout.
  3. Select the region where you would like the Wheel of Fortune script to appear. For example, you can choose the Footer section.
  4. Click Add block in the selected region.
  5. In the block settings, enter a title for the block, such as "Wheel of Fortune".
  6. In the body of the block, add the following code:
<script    src="https://files.wheelwidget.com/wheel-widget.umd.js"    async defer></script><wheel-widget id="YOUR_ID"></wheel-widget>

Make sure to replace YOUR_ID with your own unique ID, which you can obtain from your Wheel of Fortune account on wheelwidget.com.

  1. Click Save block to save the changes.
  2. View your Drupal site to confirm that the Wheel of Fortune script is now appearing in the selected region.

Conclusion

Congratulations! You have successfully installed the Wheel of Fortune script on your Drupal website. Your visitors can now spin the wheel and engage with your site in a fun and interactive way.

This instruction didn't help me

Our support & Q team email