We put together a quick integration guide for our Drupal 8 users – keep reading to find out how easy it is to install a Donorbox donation form onto your Drupal 8 website!
Head over to your Donorbox campaigns page. Click the form integrations icon </> for your fundraising campaign. Then, select the “Embed Form” option.
Customize the options for your embedded form. Then, copy the auto-generated code.
Now, log into your Drupal 8 account. At the top of your Dashboard, click the “Manage” tab, followed by the “Content” tab. Then click the blue “Add Content” button.
In order to add a permanent donation page to your website, choose the “Basic page” option for your new content.
After naming your page, paste the donation form embed code into the appropriate field.
Below your code, change your text format to “Full HTML”. The code should instantly transform into your donation form within the text box. Because we are using an embed code instead of a preset donation module, make sure not to skip this step or lines of code will appear on your website instead of the form itself.
To ensure that your new donation page is featured on your website’s menu bar, click the “Menu Settings” tab to the right of the text box and select “Provide a menu link”. Don’t forget to name your menu link – this is the title that will appear on your menu bar.
Click the “Save And Publish” button located at the bottom left of the page, and you’re all set! Your new donation page should look a little something like this: