Install LAMP on Linux

Once in a life you want to be a web developer or you have a dream to build your own website. Then you might come across many platforms, frameworks and CMSs. Some of them need web server that is apache, mysql which is database and php so that your browser …

Use theme hook suggestion in drupal

If you want to Drupal to use some specific template based on some name, then you have to write theme hook suggestion. Through which you can mention your custom template file that will used by Drupal instead of page.tpl.php or some other template file. Here is the code : function …

Use template conditionally in drupal

In Drupal you want to use some other template on the basis on some condition. This blog is all about of using template on the basis of some condition. Write the following function in your theme’s template.php and replace THEME with your theme name. This preprocess hook load the tpl …