chirale

IT and beyond

Tested on: Drupal 5.x After you have created some user fields through Profile module provided by core, you can have the need to save value into the user object. Here a quick howto to do this. On user creation: /** create user profile ($new_user will be an user object) */ $new_user_array = array ( ‘name’ …

Continue reading

On Tertiary links onĀ Drupal I described a simple approach to display the “tertiary” menu (childrens of secondary menus) on Drupal 5.x. This is an useful but sometimes limiting approach, since the secondary menu disappears when tertiary menu is displayed. This is an alternative workaround made using a customized menu_tree function: template.php: function custom_menu_tree_secondary($pid = 1) …

Continue reading