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

Drupal6

Drupal: Last Login details

Drupal6

This CodeLet will store user's login history and creates a block. Admin can place this block on user pages or on pages. Future ammendments to this code will allow to use the stored login details to be displayed using a theme function.
This CodeLet will be submitted to Drupal.org community soon.

Drupal
Drupal last login
Drupal Developer
Copied to clipboard

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

Pagination

  • Next page ››
Subscribe to Drupal6
  • Home
  • Drupal Training
  • About
  • Contact

Claim your $200 hosting credit now!

sfy39587stp18