-
1. Re: new user information field
julien1 Jun 23, 2004 8:19 AM (in response to crevette)you should update the table by hand with an alter table statement.
-
2. Re: new user information field
crevette Jun 23, 2004 8:23 AM (in response to crevette)humm...
thanks! -
3. Re: new user information field
crevette Jun 25, 2004 8:43 AM (in response to crevette)now I want to make this new field appear in the "change your info" page.
I look at the UserModule class, the editUser method, the resources.properties files, but i don't know how this works... :/
Can anyone tell me what to do, what part of the source i should looking at?
thanks in advance. -
4. Re: new user information field
jphautin Jun 25, 2004 1:16 PM (in response to crevette)
Hi everybody,
I think 'patching' the 'nuke_user' table is not the right way to do it. First,
I think Nukes core could deliver us a way to add some user information. In fact, most of new modules will need to add information in the nuke core tables. Nuke core do not provide a way to do it so patching is needed. But, when I was looking for a solution, I tried to minimize change in the core of Nuke.
For now, I made a nuke_extended_users Table/EJB which I use for my own module to store my user properties.
Then I have to patch the nuke_users page template to add a link to a new page I made which contains my extended field form and use my EJB.
No need to change anything in the nuke core, only modification in the template.
To conclude, It could be fine if the core got the list of installed module and add link for each module in the user template if needed. It means add a property in the module interface to specify if this module need to be linked in the user page. If so, Cooper could define the standard way to access to the module user properties page (define an name to show properties user page for the module ?) and make the change in the user module to generate the needed links.
Best Regards,