Thursday, December 9, 2010

The must-need modules for Drupal installtion to work!!

1. the most important thing that every site needs is its content. and with the type of your site, there are different types of content that you are gonna create. drupal gives option for the creation of few contents like blog, book and simple page.
now you are gonna need your own custom content types, and this is where the module CCK comes into paly. with CCK you can create your content type with all the fields that you need. there is a huge collection of other contributed modules that are designed to extend the capability of the CCK module.
for instance, the conditional fields module allows you to expose certain field only when the parent field has certain value selected.

2. the second most important thing that a webmaster is gonna do is try to present his contents in different style, for instance, he may want a slideshow of the photos, the most popular content, recent comments, and so on. this need of the webmaster is addressed by the module "views". it too has numerous contributed modules. for eg jcarousel module allows you to have the slideshow of your photos up in the frontpage using the jQuery.

other modules are important but these are some which are sine-qua-non for a website

Starting the Drupal!!

while installing drupal, first thing to do is to download the latest drupal installation from its site drupal.org. then to start using drupal, there should be a server -either on your computer or on the remote server. i use wamp 2.0 as my localhost.
Now extract the drupal into a folder and then copy it into the www folder of the wamp folder. The installation sequence is as follows:
1. open the root of your web directory. for localhost it is 127.0.0.1
2. choose drupal from the wamp homepage
3. this will start the installation of drupal. choose the language
4. Now you will be asked to create a settings.php file in drupal/sites/default. there is a php file by the name of setting-sample.php in the same directory. just copy and paste that file in the same directory. then rename the copy to setting.php, then continue with the installation.
5. you will be asked to enter the details of the database file where you want to install the database of the drupal CMS.
6. Go to your wamp homepage and select myphp. once there just create a new database file. give it any name. then return to the installation page and then enter the name of the database file you just created in the field database name, enter 'root' as the value of the database user and leave the password field empty. Then continue with the installtion.
7. we are almost done, in the next page you will asked about the details of the site you are about to create. fill in all the details. dont forget to enable to clean URLs (if it says that your system doesn't support clean URL, then go to the wamp and enable rewrite module from the apache modules list accessed from the wamp icon in the taskbar.) then press install.
8. Now the installation finishes in a jiffy, and you will be taken to the default homepage of your drupal site.

COMPLETING THE INSTALLAITON

To complete the installation, we have to install the most used modules and then activate them.
For this, we create directories drupal/sites/all/modules and drupal/sites/all/themes where all the contributed modules and themes are kept.

1. then download the following modules:
  • Admin menu
  • advanced help
  • backup and migrate
  • cck
  • css injector
  • ctools
  • devel
  • devel themers
  • panels
  • pathauto
  • token
  • views
  • views bulk operation
  • conditional fields (imp)
other modules can be added as per requirement
  • backup and migrate
  • inherit
  • webform
  • book made simple
  • hierarchical select
  • conditional fields (imp)
then activate them by going to the modules page. it is advised to deactivate the update module as it will make the drupal installation very slow because every time you refresh the page it will check for the updates of the drupal core and other installed contributed modules.

this is pretty much it.
enjoy!!!