[Koha-bugs] [Bug 10552] Several preferences missing from OPAC login page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 18 06:10:00 CEST 2013


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

Liz Rea <liz at catalyst.net.nz> changed:

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

--- Comment #4 from Liz Rea <liz at catalyst.net.nz> ---
Created attachment 19745
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19745&action=edit
Bug 10552 - Several preferences missing from OPAC login page

Several system preference variables are unavailable to the OPAC login
template because they are not explicitly enabled for that page. Instead
of adding them to Auth.pm using the old method this patch uses the new
system preference check syntax using the Koha TT plugin.

The following preferences are now checked using this syntax in
masthead.inc:

OpacAddMastheadLibraryPulldown
UseCourseReserves
reviewson
OpacShowRecentComments

In order for the call in masthead.inc to the new plugin to work on all
OPAC pages "[% USE Koha %]" must be added to any template which
includes it (most of them).

Also in this patch: A change to Auth.pm to enable correct display of the
LibraryName in the title of the OPAC login page.

To test, turn on the above system preferences and confirm that the
relevant links appear under the OPAC's main search bar on all pages
including the login page.

Confirm that the text specified in the LibraryName system preference is
shown as the title of the login page.

Confirm that course reserves and comments are displayed correctly on the
biblio detail page.

Signed-off-by: Liz Rea <liz at catalyst.net.nz>
I checked both prog and ccsr - all seems well and the links are appearing and
disappearing in accordance with the appropriate sysprefs.

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


More information about the Koha-bugs mailing list