In this video you'll learn how to:
- Create a new page in Drupal using CKEditor 5
- Add a new Block to the footer section of the website
- Add a new link (with your URL alias) to the footer
Here are the instructions:
-
Log in to the Drupal dashboard. Go to Content:
-
Click the + Add Content button:
-
Click Basic page:
-
Type "Privacy Policy" in the Title field:
-
Click Source in the body editor:
-
Prepare the HTML code of your Privacy Policy.
If you do not have a Privacy Policy, you can use our Privacy Policy Generator and create it within minutes.
Once you have the Privacy Policy created by TermsFeed, let's get the policy text. Under the Copy your Privacy Policy section, click on Copy this to clipboard:
-
Paste the HTML code of your Privacy Policy in the Source field of the body editor:
-
On the right side, check that the Menu settings are set to "Not in menu":
-
Open the URL alias* field. Add the URL for your page. Type "/privacy-policy" for the Privacy Policy page:
*A user-friendly link URL instead of the default "/node" that Drupal uses.
-
Scroll down and click Save:
-
The Basic page Privacy Policy has been created:
-
The next steps are focused on adding the Privacy Policy page to the footer. To do so you'll need to:
- Add a footer block to the footer
- Add a link to the footer menu
Continue with the instructions below.
To add a page to the footer, go to Structure from the top menu:
-
Select Block layout:
-
Scroll down to the Footer Top block section and click the Place block button next to it:
-
The Place block window opens. Scroll to the Footer and click Place block next to it:
-
The Configure block window opens. Under the Visibility section click on the Content type. From the Content type list check the Basic page. Click the Place block button at the bottom right of the window:
-
The Footer is added as the Footer Top block. Click Save blocks at the bottom of the block settings page:
-
The block settings have been updated.
A block is added to the Footer section. The next step is to add a link to the footer menu.
Proceed by going to the Structure (again) from the top menu:
-
Click Menus:
-
Next to the Footer menu, click Edit menu:
-
Click + Add link button:
-
The Add menu link settings should open:
Add the following:
- Type "Privacy Policy" in the Menu link title field.
- Type "/privacy-policy" in the Link field.
-
On the right side, open the Description field settings. Type "Privacy Policy" in the Description field and click Save:
-
The menu link has been saved. Go to the "Back to site" at the top left to see changes:
-
The Privacy Policy page link is now displayed in the footer of the Drupal website: