Changes between Initial Version and Version 1 of ProjectSpecificPrefs


Ignore:
Timestamp:
May 9, 2007, 10:09:28 AM (17 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProjectSpecificPrefs

    v1 v1  
     1= Project-specific preferences =
     2
     3You can provide users with a set of project-specific preferences,
     4controlled via a web interface.
     5These preferences are stored in XML, in a field of the user table.
     6You determine the structure of this XML, and what it's used for.
     7On the client, the XML is passed to your application in
     8the [BasicApi#Communicatingwiththecoreclient APP_INIT_DATA structure].
     9
     10Examples of project-specific preferences include:
     11
     12 * Graphics preferences: e.g., color scheme.
     13 * Application selection: you can allow users to select
     14 which of your applications they will be sent work for.
     15 This is described [AppFiltering here].
     16
     17The PHP code that allows users to edit their project-specific preferences
     18is in html/project/project_specific_prefs.inc.
     19When you create your project, this is initialized to sample code.
     20To create your own project-specific preferences, edit this file
     21(and keep it under SVN or CVS somewhere).
     22The functions you must supply are:
     23
     24 * project_specific_prefs_edit()
     25 * project_specific_prefs_parse_form()
     26 * project_specific_prefs_show()
     27 * project_specific_prefs_parse()
     28
     29The sample code provides a working example.