Drupal 6

Zyxware default image1
| 2 min read
This article describes a checklist on some of the important data to be collected before migration and how to collect the data. This may seem like a trivial task but just like it is important to have a manual for an electronic device before you take it apart and put it back, it is important to have a technical manual of the site. If it is a complex site, with a lot of data, then this is mandatory.
Zyxware default image2
| 2 min read
Consider a case where you want to enter regular expression and validate it. Here I will show you how to write a validation function. For example consider YOURMODULE_admin_settings_validate function In my example I am using a form and a submit button.From $form_state array you can get the input value after submit. You need this value to match with the string. See the code below.
Zyxware default image3
| 3 min read
In this article I am going to tell you how to redirect anonymous users to a login form on 403 access denied pages in Drupal. There are some contributed module that provides you this feature but, if you really want to create a custom one for your site just try this. Here I will show you a PHP snippet that redirecting to login page for anonymous users on access denied.
Zyxware default image4
| 4 min read
With Drupal 8 in the works a lot of Drupal 6 sites are currently upgrading to Drupal 7. We get quite a few queries on Drupal upgrades and almost everybody asks for a fixed price estimate for the process. In theory Drupal 6 to Drupal 7 upgrade process is an automated process (except for the upgrade of theme and custom modules) and all you have to do is to take the site through a set of standard steps for the upgrade. However upgrades don't always work like that.
Zyxware default image1
| 4 min read
Multisite concept allow us to run multiple sites in single drupal core installation . Each site in the multisite will have it's own modules and themes as well as files folders. Setting up multiple sites like this will save on patch administration, permissions administration, setting up APC etc. Follow the below steps for running multiple sites in single drupal installation.
Zyxware default image2
| 3 min read
One of the errors we come across in a Drupal 6 installation is "htmlspecialchars() expects parameter 1 to be string, array given in /includes/bootstrap.inc on line 860". This is an issue with the Internationalization and Taxonomy translation modules. This issue can be fixed by adding a line in the bootstrap.inc file. If you want to know how to solve the warning, continue reading.