Hi Bob;
Thanks - I will definitely check that article out - I’m sort of in the process of learning all the background stuff before I jump right in there and get myself into some odd kind of trouble~
I just took a look into the extended field thing:
Basically, to start using extended fields, all you have to do is add a form field to your Register and UpdateProfile forms. That’s it. The snippets will automatically then check for any fields in the POST that aren’t in the User table, and if found, store them as extended (custom) fields. They will then be expanded when using the Profile snippet. For example, a Register form that has this in it:
Seems to indicate "Yes, it does", however - a custom table will definitely be the way to go for project 2.
On troubleshooting, thanks for the offer, I did find the modx error log in the manager section useful and it pointed me to [in a roundabout way] the system variable for the snippet url being wrong [vhome vs. vhosts]
It is working as advertised now [:)] so the next step for me is to reverse engineer it and figure out how to reapply that for my purposes.
The one thing I am thinking ahead about and will probably have some questions[as I haven’t hit on any hints yet] - is that I am inserting a UUID in a custom table on the ’OnUserFormSave’ event in the manager context... [Random thought - should I just write a stored proc to do this and ignore modx completely???] - the new user or user we are editing, is that user id available to me at this point somehow, or am I going to have to get the last insert/update from the database?
-thanks
-sean