I'm building some functionality into a drupal 7 site that will let users search for another user, by a 12 digital identity number (for example: ZD-3423FGIO-XZ)

How would I go about doing this? Would I need to create some custom code to insert a new field in the user table that creates a custom number then modify the search functionality, or would I just use a module to do this?

Any help would be great!


It seems to me like a typical use case for Field UI and Views. No code needed.

Video tutorials on Drupal 7, (Fields from episode 9), and Views.

| improve this answer | |
  • I've not used Field UI before, would you be kind enough to post a short sequence of events on how I might use this to solve my problem? – LordSnoutimus Mar 23 '12 at 16:06
  • If you check out the docs on the field-ui and views that should give you a a fairly comprehensive run-down on how to implement it. drupal.org/documentation/modules/field-ui (Field-ui), and drupal.org/project/views – jvc26 Mar 23 '12 at 16:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.