In a module I originally wrote for Drupal 4.4.x, I used some custom profile fields through the old profile module. In my new 4.5 systtem, I defined equivalents through the capabilities of the new profile module to extend the user profile. But I've been unable to locate the function/api calls to retrieve the value of one of these fields in 4.5?
I'm implementing a module with several custom nodes. I'm dispatching as much as possible to the node module's code.
I happily implemented mymodule_form() and my extra form elements are appearing just fine when adding/editing a mymodule node.
Two problems though.
1. When adding/editing, the 'title' field is manditory, which is fine. Except that its label is hardcoded to 'title'. A custom node modelling, say, a 'Company' would much rather this field be presented to the user as 'Company Name'. Could you introduce a hook for this?
I'm just about to start hacking into the user.module to change the default setting when users forget their password..i.e. instead of generating a new password.....it is a password reminder.
That way other people can't be evil anbd change someone elses password...which is possile by just typing in the username.
It's a minor ergonomic thing..but I would like to apply it to my test drupal installation.
before I get into trying to do this - I'm a newbie to php etc. - was just wondering if anyone else has done it themselves or has thought about it..
I could not find who is developing this new module in CVS but I tried to test it out and seems like table prefixes were not adhered to as just had sql errors in all db queries.
I have an install using prefixes in drupal you see.