Skip to main content
Home
Toggle menu
  • Home
  • Drupal Training
  • Login
  • Register

Drupal Developer newsletter

Drupal: Redirct to node translation form

Drupal6

This CodeLet redirects the user to translate the node in the specified lanaguge. This will reduce the efforts to click on the translation tab and can enhance to transalte the nodes in all the enabled langauges, one-by-one.

Drupal
Translation
Drupal Developer
Copied to clipboard

Drupal: Custom node with hooks

Drupal6

This CodeLet demonstration how to create a custom node in code and use different Drupal hooks to build different features.

The CodeLet implements following Drupal hooks:
- hook_node_info
- hook_menu
- hook_perm
- hook_nodeapi
- hook_form_FORM_ID_alter

This CodeLet also creates an xml document which will then be used by the gallery to display images as slideshow.

Drupal
Drupal custom node
Drupal Developer
Copied to clipboard

Drupal: Add user avatar on registration page

Drupal6

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 enabled by the admin.

Drupal
User avatar upload
Copied to clipboard

Drupal: Set any image as User profile image

Drupal6

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.

Drupal
User picture
Drupal Developer
Copied to clipboard

Track Drupal node visit

Drupal6

This CodeLet adds a tab on node page and display all the visits to the node by users.

Drupal track nodes
Drupal
Copied to clipboard

Drupal: Make single checkbox a required field

Drupal6

This CodeLet will make a single checkbox a require field. This is usefule when you are creating a checkbox in your custom module.

Drupal checkbox
Drupal
Copied to clipboard

Moderate Drupal comments automatically

Drupal6

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 review them.

Drupal comments
Drupal
Copied to clipboard

Generate Drupal sub sites automatically

Drupal6

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.

Drupal sub sites
Drupal
Copied to clipboard

Drupal Search field tweaks

Drupal6

This CodeLet tweaks the way the search field is displayed in search block. It adds an image button instead of normal submit button.

Drupal Search
Drupal
Drupal Developer
Copied to clipboard

Drupal Example of Ajax on Field group multiple using hook_form_alter

Drupal7

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" will be the name of your field group,
Given example is for text field, ajax call on blur event.

Drupal
ajax
field group multiple
Copied to clipboard

Pagination

  • Previous page ‹‹
  • Next page ››
Subscribe to Drupal Developer newsletter
  • Home
  • Drupal Training
  • About
  • Contact

Claim your $200 hosting credit now!

sfy39587stp18