Drupaldeveloper - drupaldeveloper.in

General Information:

Latest News:

Drupal: Add user avatar on registration page 3 Aug 2013 | 11:54 am

This CodeLet adds a field on Drupal registration form and allows the user to upload an avatar. This will be saved to user's picuture field on his/her profile. This will work only if 'Picutre' is enabl...

Drupal: Set any image as User profile image 3 Aug 2013 | 11:15 am

This CodeLet allows you to set any image associated with certain contant type to be used as user profile image. This CodeLet particularly uses 'galleryimage' content type. CodeLet: <?php //$Id$ /....

Track Drupal node visit 16 Jul 2013 | 11:26 am

This CodeLet adds a tab on node page and display all the visits to the node by users. CodeLet: <?php /** * @file * * Retrive and Display user visits of a node * * @author DrupalD */ /** * ....

Drupal: Make single checkbox a required field 12 Jul 2013 | 07:19 pm

This CodeLet will make a single checkbox a require field. This is usefule when you are creating a checkbox in your custom module. CodeLet: <?php $form['terms_condition'] = array( '#type' => 'chec....

Moderate Drupal comments automatically 10 Jul 2013 | 11:10 am

This CodeLet enables a Drupal site to moderate the comments automatically. Once a user's comment has been white lited, all his/her furture comments will be automatically moderated without admin to rev...

Generate Drupal sub sites automatically 10 Jul 2013 | 10:08 am

This CodeLet will generate the number of Drupal sub sites you specify. It requires path to mysql executable on your server. The sub sites will be pre-populated with an SQL file. CodeLet: <?php //$....

Drupal Search field tweaks 3 Jul 2013 | 10:03 am

This CodeLet tweaks the way the search field is displayed in search block. It adds an image button instead of normal submit button. CodeLet: <?php /** * @file * * Tweaks the search feature and ....

Drupal Example of Ajax on Field group multiple using hook_form_alter 22 Jun 2013 | 11:41 am

This CodeLet let you konw how to implement ajax on field group multiple module. "fgm_node_YOURNODE_form_group_YOURGROUPNAME" where "YOURNODE" will be the name of your content type and "YOURGROUPNAME"...

Drupal field colletion view tracking 21 Jun 2013 | 04:43 pm

This CodeLet tracks the number of views of tabs, created using field collection module. When user clicks on respective tab, an ajax call is initiated and a value is stored in the db. Which can then be...

Drupal download files: Add confirmation to downloads 10 Jun 2013 | 04:47 pm

This CodeLet adds a confirmation form when a user tries to dowload a file from a Drupal site. The data then saved in the db and also mailed to the administrator. Once the form is submitted, file dowlo...

Recently parsed news:

Recent searches: