How to Install 100Widgets on Drupal
Add widgets in Drupal 9/10/11 custom block types or layout builder. Follow this simple guide to copy and paste any 100Widgets interactive component into your Drupal website.
Installation Steps
1
Create a Custom Block
In Drupal Admin, go to Structure > Block layout > Custom block library > Add custom block > Basic block.
2
Set Text format to 'Full HTML'
Under the Block description and body, switch 'Text format' dropdown to 'Full HTML' so script tags are allowed.
3
Click 'Source' and paste embed code
In CKEditor, click the 'Source' toolbar button, paste your code, and save.
<script src="https://100widgets.com/js.php?id=301"></script> 4
Place block into Block Layout region
In Structure > Block layout, place the block in your desired theme region.
Tips for Drupal
- Always verify that the user role has permissions for Full HTML text format to prevent sanitation stripping.
- Compatible with Drupal Layout Builder sections and views headers.
Frequently Asked Questions
Can I embed widgets inside Drupal nodes?
Yes, select 'Full HTML' format on the node body field and paste the script tag in source view.
Other Installation Guides
Install on HTML / Any Site → Install on WordPress → Install on Shopify → Install on Wix → All 18 Guides →
Ready to customize a widget? Explore the 100Widgets Catalog.