Drupal 6 Set-up on Heart Internet

This is more for myself, but good if it helps someone else too….

This is a Drupal 6 (6.22) set-up on Heart Internet hosting (Reseller account).

Step 1

Once the hosting account has been set-up and the ‘install hour’ has passed, go to the ‘Manage Hosting Accounts’ page (https://customer.heartinternet.co.uk/manage/manage-packages.cgi) and select ‘Super User’ for the account you want to set-up.

From the ‘Control Panel Home’ page, select ‘Drupal CMS’ from the ‘CGI Scripts’ section near the bottom of the page.

Once it has installed the scripts and database for you, you’ll notice 2 links near the bottom of the page. Both link to the domain name root (i.e. http://domainname.co.uk) however one will have the server name at the front (i.e. http://79.170.44.155/domainname.co.uk). If the first one works, use it, however if the domain name isn’t quite ready (DNS records) use the 2nd….

You are now at the beginning of ‘Drupals Installation Process’. Simply follow the instructions page by page adding in the Site Name, Your email address, Username and Password. Once done you’ll be at a familiar ‘welcome’ page…

Step 2

Using Dreamweaver, download the ‘sites’ folder, which includes the ‘all’ and ‘default’ folders.

In the ‘default’ folder is the ‘settings.php’ file used to configure the database, etc. Open this file and locate the PHP settings, normally on lines 156 to 167.

Add a new line on the end to increase the memory allocation and to stop ‘white pages’ on heavy resource pages like ‘modules’ and ‘blocks’. So line 168 can become: ini_set('memory_limit','516M'); Save and upload.

In the ‘all’ folder we need to add folders for the ‘modules’, ‘themes’, libraries’ plus our own ‘clereJquery’ folder. This is easiest done by copying the ‘all’ folder from another site already set up. It’s worth noting here that you don’t need to copy a theme already in the ‘theme’ folder unless you intend to use it… Like wise, you can copy a theme from another Drupal site into this folder if you want to use it. The ‘theme’ folder can contain as many themes as you want available, but it’s best to just copy the one you intend to use…

Upload your ‘new’ ‘all’ folder with your modules and themes.

Now you can go back to your browser and log into the site using the username and password you added a few steps ago…

Step 3

Once in, we need to set a few basic thing up, so first we’ll start with ‘Modules’….

Go to ‘Administer > Site Building > Modules’ (or use this admin/build/modules for speed).

Preferably with another similar site open, tick the modules you are going to need, a suggestion is:

Administration

Administration Menu

CCK

Content

Content Copy

Fieldgroup

Number

Text

Core Optional

Aggregator

Contact

Database Logging

Help

Menu

Path

Taxonomy

Update Status

Upload

Event

Event

Image

Image

Image Attach

Image Gallery

Mate Tags

Admin interface for Nodewords

Basic meta tags

Extra meta tags

Nodewords

Site verification meta tags

Other

Clone modules

Global redirect

Googtube

IMCE

Lightbox 2

Path redirect

Pathauto

Sitemap

Token

Transliteration

Weather

SEO Compliance Checker

Basic SEO Rules

Keyword Rules

SEO Compliance Checker

User Interface

IMCE Wysiwyg API bridge

Wysiwyg

Views

Views

Views Exporter

Views UI

Step 4

Next we need to set the default time zone (admin/settings/date-time), to ‘Europe/London’, plus the date formats and the ‘First day of the week’.

Nodeword Meta tags can be set-up here: admin/content/nodewords

The ‘Event’ content type needs to be created by going here: admin/content/node-type/event

Set ‘Full HTML’ as the default Input Format here: admin/settings/filters/list

Set WYSIWYG editior here: admin/settings/wysiwyg for ‘Full HTML’, then press ‘Edit’ to select the icons to use. Suggestions under ‘Buttons and plugins’:

Run ‘Updates’ to make sure the new modules are in sync with the database. (www.domain.co.uk/update.php?op=info)

Check ‘Status Report’ (admin/reports/status) for any issues, run cron and check again.

Create a ‘Home’ page, then go to ‘Site Information (admin/settings/site-information) and change the setting ‘Default front page’ at the bottom from ‘node’ to ‘home’. Note: this is assuming you home page URL is ‘/home’…

Step 5

Set up ‘Scheduled Tasks’ from the Heart Internet Control panel. It’s under ‘Web Tools’.

change ‘##########’ for the domain name (no www.) and leave the other settings as they are.

Press ‘Update’ to save.

To test if it’s working, press ‘Test Command’, and you should get a message back ending with ‘Content-Type: text/html; charset=utf-8’.

Go back to Status Report, (admin/reports/status), and under ‘Cron maintenance tasks’ it should say ‘Last run’ and then how many minutes/seconds ago you pressed ‘Test Command’.

Install a theme here: admin/build/themes, make sure that the only theme enabled is the one you uploaded to the ‘theme’ folder. Press ‘Save Configuration’. If everything has gone to plan, you should be looking at an empty site with your selected theme. If images are missing, it’ll just be the path in either the stylesheet, page.tpl.php or template.php files….

Reset Blocks (admin/build/block) – Remove ‘Powered by Drupal’, ‘Navigation’ and ‘User Login’ from their regions by selecting ‘<none>’ from their dropdown lists and press ‘Save Blocks’.