Drupal Installation Guide

1

Install XAMPP

1Step 1

Download and install XAMPP from: https://www.apachefriends.org/index.html

2Step 2

Launch the XAMPP Control Panel

3Step 3

Start Apache and MySQL servers

4Step 4

XAMPP directory structure – Web root: C:\xampp\htdocs

2

Download and Setup Drupal

1Step 1

Download the latest Drupal CMS zip from: https://new.drupal.org/download

2Step 2

Extract it to: C:\xampp\htdocs\drupal

3Step 3

You should now have: C:\xampp\htdocs\drupal\index.php

4Step 4

Rename default.settings.php → settings.php:

5Step 5

Path: C:\xampp\htdocs\drupal\sites\default\default.settings.php → C:\xampp\htdocs\drupal\sites\default\settings.php

3

Create a MySQL database for Drupal

1Step 1

Open browser and go to: http://localhost/phpmyadmin

2Step 2

Click 'New' → Create a new database

3Step 3

Name the database: drupal

4

Install Drupal via Browser

1Step 1

Visit: http://localhost/drupal

2Step 2

Follow the Drupal installation wizard:

3Step 3

- Select language

4Step 4

- Choose Standard installation

5Step 5

- Database name: drupal

6Step 6

- Username: root

7Step 7

- Password: (leave blank for XAMPP default)

8Step 8

Complete site setup

5

Create a custom page with Tetrons iframe

1Step 1

Go to: http://localhost/drupal/node/add/page

2Step 2

Create basic page:

3Step 3

- Title: Tetrons Editor

4Step 4

- Body (switch to 'Source' mode in WYSIWYG editor) and add:

1<h2>Tetrons Editor</h2>
2<iframe
3  src="http://staging.tetrons.com/editor/dist/editor-host.html"
4  width="100%"
5  height="600"
6  style="border: none;"
7  allowfullscreen>
8</iframe>
6

Allow iframe HTML (if it’s stripped)

1Step 1

If iframe is removed after saving:

2Step 2

- Go to: http://localhost/drupal/admin/config/content/formats

3Step 3

- Edit Full HTML format

4Step 4

- Under 'Limit allowed HTML tags', ensure this is included: <iframe> <h2> ...

5Step 5

- Scroll down to 'Enable Full HTML' for your user role (admin): /admin/people/permissions

7

Final output

1Step 1

Visit the page: http://localhost/drupal/node/1

Output Preview

Output Preview
Chatbot