drupal modules

11 Nov

how user_hook() will change from drupal 6 to drupal 7

in Drupal, Drupal, drupal modules, Drupal Planet, Drupal Planet

Hooks is the central mechanism which allows Drupal its extensibility. New functionality can interact with or extend existing functionality using hooks. Use hook, don't hack is a standard way to write code in Drupal.

user_hook() is a hook which is called when an activity is performed on the user. e.g. A user logs in, logs out, clicks on user profile, etc..  Read more »

25 Jan

Not seeing CCK fieldgroup in form_alter

in cck, Drupal, Drupal, drupal modules, Drupal Planet, Drupal Planet, form_alter

I was trying to create different tabs (using YUI) to edit a form. I wanted to create a separate tab for each of the field groups. However, in the form_alter method of the form for my module, I could not see the fields in the fieldgroup. On debugging I found my fields in the fieldgroup to be present in the form_alter of other modules. Problem: The CCK fieldgroup module has a weight of 9. If your module has a weight less than 9, then it is called before CCK fieldgroup, hence the problem. Solution: Set your module's weight more than 9.

18 Dec

Top 10 drupal modules you must have

in cck, devel, Drupal, Drupal, drupal modules, Drupal Planet, Drupal Planet, jquery, views

There are several modules I have used during building sites. I am not going to get into details of the modules because you should visit the modules. But by far, the most important / useful modules for me have been:

1. Views ; You can think of views as output to your custom query (except you don't write the query). There are several ways to present the views and Calendar is one example. So this is a query builder which can execute queries at run time and present the data however you want. Read more »

copyright 2012 10jumps Llc.

copyright 2012 10jumps LLC.