[Koha-bugs] [Bug 6864] add a syspref to allow custom text for OPAC user/pass information

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 3 04:25:33 CEST 2014


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

M. Tompsett <mtompset at hotmail.com> changed:

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

--- Comment #16 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 26780
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26780&action=edit
[SIGNED OFF] Add OpacBelowLoginBox preference to add custom text below the
login box.

This patch file adds the ability to customize the text below
the login area which appears when 'Log in to your account'
in clicked in the top right of the OPAC.

TEST PLAN
----------
 0) Back up your data if you care about it.
 1) Open a staff client in your browser.
 2) Make sure the OPAC system preference opacthemes is set
     to 'prog'.
 3) Make sure the OPAC system preference opacuserlogin is
     set to 'Allow'.
NOTE: Required to make the 'Log in to your account' in the top
      left of OPAC appear.
 4) Make sure the OPAC system preference PatronSelfRegistration
     is set to 'Allow'.
 5) Make sure the OPAC system preference
     PatronSelfRegistrationDefaultCategory is set to a value
     of patron category that exists (eg. PT is a sample one)
NOTE: These are required to make the 'Register here' links
      appear after the text.
 6) Open the OPAC in another tab.
 7) Click the 'Log in to your account' link.
 8) Note the text below the login area.
 9) Apply the patch and run an update.
    (git bz apply 6864 -- interactive just this one)
    (./installer/data/mysql/updatedatabase.pl)
10) Refresh the OPAC page.
    -- the text should be identical.
11) In the staff client, modify the OPAC system preference
     OpacBelowLoginText to have some text, and save.
12) Refresh the OPAC page.
    -- the text should reflect what was entered in the
       OpacBelowLoginText system preference.
13) Open your mysql.
14) Drop and recreate the koha database.
15) Do a web install by going to the staff client URL.
16) Log in as the system user.
17) Confirm the OPAC system preference OpacBelowLoginBox
     exists.
18) Modify its value (blank, non-blank) and confirm that
     the OPAC page reflects the default message or custom
     message as expected each reload.
19) Run the Koha QA Test Tool
    -- This will FAIL on the system preferences SQL file.
       The next patch by me, Mark Tompsett, will fix it.

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list