From: shane <sh...@lo...> - 2003-07-18 22:19:29
|
On Friday 18 July 2003 11:06, Christopher Winn wrote: > Hi all, > > I'm relatively new to Slash and just recently getting back into Perl.. > > Let's say I need more information to be stored with a user beyond things > like their homepage, email, signature, etc. > > Let's say I want to add "State" information, or City. > > Well, I understand that you can simply add the fields to newUserForm or > editUser, and the extra data will be saved into user_params. > > But how do I access the data thereafter? I can get their homepage by using > [% useredit.homepage %] -- but I certainly can't do [% useredit.state %] in > the templates. > > Any help would be GREATLY appreciated. > > Chris. It used to be that the code would save any extraneous form fields (that aren't in the schema) into the table users_param as a user param. I used it a while back. Haven't for a while though. I tried doing something similar yesterday: <URL: http://www.lottadot.com/comments.pl?sid=35&cid=131 > It doesn't seem to be working. Anyone know if this functionality was taken out? Or is this a bug? Shane |