Community & Support

Extend user's fields, profile or customize module?

User has many fields in my drupal site.

i can add extended fields by profile, but i'm worry about it has performance isses.

at this point, a customize module that has all fields in a table looks better. but it has bad extensiblity.

how to choice?

thx

Comments

Sorry - it is difficult to

Sorry - it is difficult to fully understand you're question. Are you asking about alternatives to Drupal's core Profile module?

Here is a comparison of the available profile options: http://shellmultimedia.com/articles/deciding-which-modules-use-profiles
This article covers Bio, Node Profile, Drupal's core profiles, and Usernode with CCK fields.
In Drupal 6, a new module is expected to be added (or take the place of Bio and Node Profile) called Content Profile.
There is also a useful Advanced Profile Kit to help you more easily make advanced profile layouts and functionality by using integration with Panels 2 module and either Bio or Node Profile.

So far as performance, I'm not sure. Core profiles are used on various large Drupal sites... and profiles as nodes would have the same performance level of any CCK node. Using Advanced Profile Kit would likely be among the slowest, due to Panels module (e.g. writing templates by hand would perform best). You can use many of Drupal's caching and performance optimizations.

-- David
absolutecross.com

user_profile.tpl.php

You can customize the user profile page by creating a template file in your theme's folder (user_profile.tpl.php) and adding a hook function to the template.php file in that folder, see: http://drupal.org/node/35728

I found that was better and simpler than using bio or advanced_profile, which had some issues.

One disadvantage is for example on our site I'd like it if professors could select which students (users) were their own students from a list, but you can only do that if users are nodes, like with the bio module.

The node_profile module (drupal 5.x) is discontinued in favor of content_profile (drupal 6 only).

nobody click here