Forum OpenACS Q&A: extending user's profile information
things like contact information. What would the best way to go about
this. Should I be looking to create tables, alter existing tables, or
should I be using some built in functinality to add attributes.
Any suggestions would be appreciated.
now in the OpenACS 4 development branch (if you're using OpenACS 4,
Thanks for the help, I'm kinda new and a bit of retard getting around oacs, cvs, etc. I'm using oacs-4-5b1. So I just checked out a copy of the devel branch as per one of your posts using this command:
cvs -d:pserver:mailto:email@example.com:/cvsroot checkout -d openacs-4-devel openacs-4
Is this the correct branch? Anyway, I was looking through the packages and couldn't find the profile-provider and user-profile packages you were referring to. Am I even looking at the right place for this (I assume it would be in the packages directory)?
I tried the same command and all the packages refused to be downloaded. Ug. It appears that there is a bug in cvs when (somtimes?) using the "-d" command with "checkout".
The development tree is actually not a branch, but simply the most current version of the trunk (aka HEAD in cvs-speak). cd to a temp directory and issue:
1. "cvs -d :pserver:mailto:firstname.lastname@example.org:/cvsroot login"
2. hit return for the password
3. "cvs -z3 -d :pserver:mailto:email@example.com:/cvsroot checkout openacs-4"
And you will get the HEAD version. Then move/rename the "openacs-4" directory.
I just created a table with user_id (or maybe party_id) as the foreign key, then modified the save personal info screen (accessible from the workspace) to save and restore the additional fields to the new table I created.
This is not to say that you CANNOT add a column, just that you should be aware that adding a column can cause undesired consequences in modules you've never looked at.
I'm still working with 3.2.5, having not enough time/energy to upgrade my mind to 4.5. Things are pretty snarly in there in spots. Changes to the core data model are probably not a good idea.
Thanks, I downloaded the HEAD but still could not find the profile-provider or user-profile packages.
Don, should it be located in packages/?
Anyway, I'll probably stick to what Roger suggested. Just was wondering what these packages had in it.
Unfortunately, I also don't see either of these when I check out the latest CVS version. I'm sure that I'm missing something obvious here, but a clear explanation of where to find these packages would be greatly appreciated.
only the data models? who is writting this?