Tutorial on how to create a theme in Drupal or create custom theme in Drupal

Tutorial on how to create a theme in Drupal or create custom theme in Drupal

Following is the step by step guide to create a theme in drupal.

Lets say name of your new theme is “mytheme“.

Where to place the theme?

  1. All custom themes are generally places in “sites/all/themes/” folder.
  2. Create a “themes” folder if it does not exist at above mentioned path.
  3. Create a new folder “mytheme” under themes folder.
  4. Copy all your raw html templates which you may have created for your new website to “mytheme” folder.
  5. Create a new file “mytheme.info”. This file contains information related to your theme.

Tutorial on what is Selenium IDE and how to use Selenium IDE

Selenium IDE is a graphical interface to selenium.
It is a Firefox plugin that does record and playback the interactions with the browser. its is just one of the very popular and useful ways to write selenium scripts.

How to install PHP, Apache, MySQL on Ubuntu in two commands

Installing LAMP stack on Ubuntu 10.04 and above involves having access to terminal window and root user.

First install tasksel which is used to execute tasks on system like installation of LAMP.

1. To install tasksel, execute the following command-

sudo apt-get install tasksel

2. Now install PHP, Apache, MySQL

sudo tasksel install lamp-server

Done. Now open a browser window and type “http://locahost”. You will see a message “It Work’s”.