Hi AMDbuilder,
if I got you right, you're talking about Custom Fields:
http://rtfm.modx.com/display/ADDON/Login.Using+Custom+Fields
If so, that would be great, as I'm already using the login extra.
But I'm not sure if that suits my needs - I have to store some midsized multidimensional arrays for each user, which won't be displayed directly but should be used from my snippets. Could this be done with form fields in login from my own snippets?
If I got it right, Revolution's User Profile has an "extended" field, where login stores the data. This field(s) should also be accessible via the manager.
I guess another way would be to access these extended fields via modx api from my snippets directly. I would than use login (i.e. profile) to restore the data at user's login, but add/modify the data on my own.
Do I have to dig into profile's source, or could you give me a hint how to deal with the extended field directly (or point me somewhere)?
I try a brief description of what I like to do:
First user login:
- MySnippet generates some data for html output, this is shown
- The generated data should be stored in user's extended fields
Next user login:
[li]MySnippet looks for user's extended fields, finds the stored data, and can display it directly - no initial generation necessary[/li]
[li]Alternative: Login fetches the data from the user's ext. fields, MySnippet can work with it (how?)[/li]
I hope this is comprehensible. Maybe I think too complicated, 'cause I'm new to snippet coding?
Cheers
Frisco