User Profiles
Community / UserProfilesBack to Snip <-- Previous Change | Next Change -->
| Diff Summary | |||||
|---|---|---|---|---|---|
| Title | |||||
| Date | 2007-07-22 15:23:53 | 2007-07-22 15:27:32 | |||
| Editor | Herbert Poul | Herbert Poul | |||
| Tags | |||||
| 2007-07-22 15:23:53 by Herbert Poul | 2007-07-22 15:27:32 by Herbert Poul | ||||
|---|---|---|---|---|---|
| f | 1 | User profiles in the Community application serve t | f | 1 | User profiles in the Community application serve t |
| > | wo purposes: | > | wo purposes: | ||
| 2 | 2 | ||||
| 3 | 1. Allow the user define public attributes which w | 3 | 1. Allow the user define public attributes which w | ||
| > | ill be visible in his public profile. | > | ill be visible in his public profile. | ||
| 4 | 2. Set application specific settings. | 4 | 2. Set application specific settings. | ||
| 5 | 5 | ||||
| t | t | 6 | |||
| 7 | # Configuring information fields | ||||
| 8 | |||||
| 9 | An administrator of a site can define which fields | ||||
| > | are available. These can be set in the django adm | ||||
| > | in under Community -> Community user profile field | ||||
| > | s. | ||||
| 10 | |||||
| 11 | Each configured field has four properties: | ||||
| 12 | |||||
| 13 | - Name: The label visible to the user while editin | ||||
| > | g or viewing a user profile. | ||||
| 14 | - Regex: A regular expression which checks if the | ||||
| > | input of a user is valid. Useful for example to va | ||||
| > | lidate that a URL is prefixed with http:// | ||||
| 15 | - Renderstring: A python formatting string how the | ||||
| > | value should be rendered. You can use %(value)s t | ||||
| > | o include the value. | ||||
| 16 | - Sortorder: Defines the order in which the fields | ||||
| > | appear while editing or viewing a user profile. | ||||
| 17 | |||||
| 18 | |||||
| 19 | # Taking advantage of user profiles in your own ap | ||||
| > | plications | ||||
Powered by Sphene Community Tools
