From: skaill <sk...@ro...> - 2004-08-23 14:00:19
|
I have added user settings to my copy at = http://weberp.gocom.ca/weberpcvstest. The last menu option is Settings = which is the current user's settings that they can modify. There are = only two settings right now: Number of Records to Display = ($DisplayRecordsMax) and Enable Javascript ($EnableJavascript). To see, try going to Select Customer then type in "a" to search for all = records with an "a". It will page according to the user's current = settings. Now, go into Settings > User Settings and modify Number of = Records to Display. Go back to Select Customer and search on "a" again. = Notice the paging has changed to what you changed. We now have an area for users to "customize" their environment. Adding = more user settings is easy. This is assuming that Phil and others want = it in the cvs... The settings get set in session.inc by using a $_SESSION variable. In = this way the settings are always handy. When the user changes their = settings they are updated in both database and session variable so it is = on-the-fly changed. =20 Steve |