Monday 04 October 2004 5:07:26 am
Hi, I have taken over development of an EZ site and I am wondering a few things, forgive me if they seem simple. I have User class which has been set up in the administration (by the previous coder) This holds all the usual data, name, email etc and some custom attributes. One of these is 'weight' and this is set as an integer. This means that the user must enter a whole number but the client now wishes them to use decimals too. How can I switch this attribute to be 'float' instead? One other question, one of the extended moduals will allow the user to enter a daily weight, this then needs to update the User Class weight attribute value for the user with the most recently entered daily date. How can I access or update this value from php without having to use the /content/edit/ url. I want to update it directly from the modual code. Is there eZUser::updateUser(); or something? Regards James
|