From: Phil D. <p.d...@pa...> - 2004-08-26 08:10:28
|
I wonder if a setting for enable javascript is necessary - either it works or it doesn't. Since we are only using javascript as gloss on the GUI the system should always be usable with just PHP - as I think we all agree it is just that the focus and perhaps drop down menus could be useful additions to the marketability stuff. Phil On Tue, 2004-08-24 at 02:00, skaill wrote: > 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. > > Steve |