[Koha-bugs] [Bug 3756] new sys prefs - no way to add a new local use preference
bugzilla-daemon at kohaorg.ec2.liblime.com
bugzilla-daemon at kohaorg.ec2.liblime.com
Tue Nov 3 20:12:29 CET 2009
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3756
Jesse Weaver <pianohacker at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Jesse Weaver <pianohacker at gmail.com> 2009-11-03 19:12:29 ---
It is _technically_ possible to add a local use preference, but you have to
edit the right .pref file to do so. Here's why I left the UI for the feature
out for the time being:
* Getting Koha to understand a new preference requires editing code, which
will be harder than adding it to the .prefs file. Admittedly, the "Local Use"
tab made a nice workflow for adding a new pref before sending it in, but see
below:
* The old system did the local use tab through a rather horrifying hack where
it selected for every preference it didn't know about (SELECT from
systempreferences where variable not in ('timeout', 'MIME', ad infinitum for
every Koha syspref)). I could bring this system back, but it would be slow and
ugly and the local use preferences wouldn't be searchable.
* Because of the rather complex format of the .pref files, an editor/creator
would have to be either complex or incomplete.
Would it work to change this bug to "Add documentation for adding system
preferences" (for new sysprefs editor) and delay a UI until 3.4 or .6?
--
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list