https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27318

--- Comment #1 from Lucas Gass <[email protected]> ---
Created attachment 114755
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114755&action=edit
Bug 27318: Add ShibbolethLoginInstructions to News

This patch adds ShibbolethLoginInstructions as an option in the News Tool so
librarians customize the wording within the loginModal
To test:
1. Enable shibboleth in your koha-conf.xml by changng the value of
<useshibboleth> to 1.
2. I also add the following to my koha-conf:
   <shibboleth>
    <matchpoint>email</matchpoint>
        <mapping>
            <email        is="SHIB_ATTR_email"></email>
        </mapping>
    </shibboleth>
3. Look at the OPAC loginModal and make sure something like "If you have a
Shibboleth account, please click here to login." is visiible.
4. Apply patch
5. Go to /cgi-bin/koha/tools/koha-news.pl and make a New entry
6. Choose ShibbolethLoginInstructions and enter something like: '<h1>Sign in
using:</h1>
<a
href="localhost:8080/Shibboleth.sso/Login?target=localhost:8080/cgi-bin/koha/opac-main.pl"><div
class="shibGoogle">Google</div></a>'
7. Reload the OPAC and look at the loginModal again, it should show your new
login instructions instead of the default.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to