Archive for category Development

Drupal hook: hook_comment

hook_comment lets you operate on comments that is being operated upon. You can perform actions on comments by using this hook. For example, after certain number of commnets reached, you want to hide certain number of comments just like the way facebook does. You can use hook_commentk and theme the output as per your requirements.

Read more: Drupal hook: hook_comment.

Drupal profile picture

This CodeLet allows you to set any image that you have uploaded on your Drupal website as your profile picture. However, you need to modify this CodeLet according to your requirements.

Read more: Drupal profile picture.

Affinity views field & filter

This CodeLet lets you add a field and a filter in views. You can use this field to display data and filter the data.

Read More: Affinity views field & filter.

Programmatically create nodes: node_save

Drupal’s node_save() function lets you create a node of certain type programatically. This is useful when you are importing the data from a backup file like a csv file. To import the data and create nodes using those data you need to fist create the content type of desired type and also have to create all the fields to which the data will be imported to. You have to make sure that while saving data, the format of the data matches that of field type, otherwise you will have a failed import, not to forget the typo while creating the node programatically.

Read more: Programmatically create nodes: node_save.

Upcoming Events

This CodeLet displays a user’s upcoming events. A visitor, visiting a user’s profile would be able to see those events that user has subscribed to. In this CodeLet, for subscription, “Attendance” flag is used. You can alter the code to meet your requirements.

Read more: Upcoming Events.

Contact attach module

Recently, Joshi Consultancy services has decided to sponsor contact attach module on drupal.org and our developer has acquired all the permissions to co-maintain the module. Our primary goal is to publish a stable release of contact attach module for Drupal 6.x branch. We also want to remove the CCK module dependency in the module, which will make it working with minimal Drupal installation.

We have also planned to integrate the module with contact form field module so it can be managed form the ‘Manage field’ interface of contact form field module.

Read More: Contact attach module.

Gujarati Translation on localize.drupal.org

We are inviting translators to translate Drupal in Gujarati language. Its an opportunity to give back to the community. If you can spare an hour every week, we can make it happen and all the strings of Drupal can be translated to Gujarati language quickly. Come and join the movement!

You can find all the details at http://ly2.in/DWwHDL

Read more: Gujarati Translation on localize.drupal.org.

Drupal theme: WhiteWall

We are building a clean, white theme with dropdown menus compitible with Drupal 6.x. The theme has multiple regions including header, left sidebar, right sidebar, content top, content bottom, footer and footer top. There can be more regions available during the development.  We would like to contribute this theme to drupal.org but first want to receive some feedbacks about the theme. You can take a look at the screen shot and let us know what else can be added to increase the usability.

Read more: Drupal theme: WhiteWall

Code Search feature

drupaldeveloper.in is inviting suggestions for its search tool using which any one can search any codes within drupaldeveloper.in
Your suggestions will be hightly appreciated.

Read more: Code Search feature

Auto create blocks from nodes

This CodeLet creates Block for individual nodes. The CodeLet is very customized displaying only one field of the node but it can be altered to display any or all of the fields in the block.

Read more: Auto create blocks from nodes.

Rss Feed Tweeter button Facebook button Technorati button Reddit button Myspace button Linkedin button Webonews button Delicious button Digg button Flickr button Stumbleupon button Newsvine button Youtube button