Tag Archives: Drupal

In Drupal 7 hiding content type from search results in your application is pretty simple. Hook node access alter will provide the interface to bypass the search result query.

Hide content-type For example if there is a content type called “some_type” in your application, which you don’t want to show in your search result

Read More…

Drupal theme layer gives us the flexibility to theme all the data used through out the site. We can also theme the page created from the drupal admin panel. To Create a template for Basic Page Content type with URL alias follow the below steps. Step 1: First create a page from drupal admin and

Read More…

Drupal provides a simple way to inherit the base themes through the concept called subtheme. Advantages of Creating Sub theme: No need of hacking the core themes All the styles of base theme will be inherited to sub theme, less coding Lets see how to create a sub theme in drupal. For this example i

Read More…

Following are some of the important points/Best practices that should be taken in consideration while creating a new custom module in drupal. 1)   Use underscore “_mymodule_” for private function. 2)   Use “ l() ” instead of “<a>text goes here</a>”. 3)   Avoid writing all the coding inside a single module file, instead of that you can use .inc files and

Read More…

If you are using Dupal for your site with user login, you should probably check this feature. Every user would like to make their work easier. For that, we should provide bird’s eye view of the updates. It could be a simple snapshot or a dashboard. Drupal Homebox module is greatly helping drupal developers to achieve

Read More…

Drupal features module provides the UI and API for exporting  the various component used in drupal  like content type, Views etc. In this post we are going to see the key features . The component  that can be exported by drupal are as follows, Content type CCK Views Taxonomy Menus User Roles Permissions Image Styles

Read More…

One of the interesting Features of Drupal 7 is the Field API. Prior to Drupal 6, to make a custom field the Core Profile Module and Content Profile Modules are used. Now in Drupal 7 we can make any custom field to appear in User Registration Form. When Adding Custom Fields Such as Gender usually

Read More…

Backup and Migrate is One of the important modules that will help in moving the Data Base from Development Site to Live Site. While Recently working with this module I Faced an Issue. I Have Successfully taken the Backup from Development site using the Advanced Backup options and When I tried to Restore the Backup

Read More…

There are Basically 2 ways to Theme a page in Drupal i) By using theme functions in modules ii) By creating template files in the theme directory. For the Designer creating the template file would be much more convenient to theme than using the theme function. Sometimes there may be a need to theme node

Read More…

Creating Custom Error Messages using PHP is pretty simple. While running PHP scripts if you encounter any errors like Fatal error, Notice  and Warnings, PHP will throw the Error to Browser with Default Error Message. Those errors will not have and user experience when some pages in your web page struck with error. That’s why

Read More…