[Koha-bugs] [Bug 10951] Make the NoLoginInstructions a customizable field through preferences

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 27 16:04:12 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10951

Blou <philippe.blouin at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21460|0                           |1
        is obsolete|                            |

--- Comment #7 from Blou <philippe.blouin at inlibro.com> ---
Created attachment 21510
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21510&action=edit
Bug 10951 - Adding NoLoginInstructions to system preferences

On a failed login, the default message is harcorded into opac-auth.tt.

It would be preferable to allow for a preference to override that message (for
example: ...Please bring an ID to the front desk located on 3rd floor...)

The changes modify
    -opac-auth.tt to allow for custom value
    -admin/preferences/opac.pref to add it to the preferences with a
description
    -C4/Auth.pm for the loading of the preference

TESTING
    1) in OPAC, logged out, try login in by entering no or wrong credentials. 
Acknowledge the "Don't have a passord yet?" message
    2) Apply the patch
    3) Regression Test: Redo step 1.  Same (default) message should appear.
    4) Log in to intranet,
       - select NoLoginInstructions in system preferences.
       - Enter new (xml) message.  Possible:
       <h5>Welcome to Koha, please bring your passport to the front office</h5>
       - and save
    5) refresh the OPAC, try login again with invalid credentials.  The new
message should appear.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list