Useful Drupal Skills

How to show a block only at front page or homepage? 1. Go to Administration » Structure; 2. Click ‘Add block’, and fill in “Add block”, and your code at “Add block”; 3. Under “Show block on specific pages”, Click “Pages on which this PHP code returns TRUE (experts only)”, and copy the folling code […]

Drupal 6.22 installation stuck at database configuration

When we install a new drupal 6.22, after the first 2 steps: Choose language Verify requirements The third step “Set up database” may prevent you from installing successfully. There are not any error messages to show what the problem is either. How to do then? During the installation you may have renamed the file /sites/default/default.settings.php […]

Not recognizing database while installing drupal 6.9

Here is the error that I’m receiving (below): Failed to connect to your MySQL database server. MySQL reports the following message: Access denied for user ‘govspons_bmarkfo’@’localhost’ (using password: YES). Are you sure you have the correct username and password? Are you sure that you have typed the correct database hostname? Are you sure that the […]