Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph
    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. OvL Change Password Function in Primo with Aleph 21 (and lower)

    OvL Change Password Function in Primo with Aleph 21 (and lower)

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description
    2. Resolution
    3. Additional Information

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Description

    Allow Patrons to change their password from Primo interface

    Resolution

    1. Configure Single-Sign-on for Primo - Aleph

    2. Add a new language to Aleph (=prm)
    - $alephe_tab: add the new language PRM in the file allowed_languages
    - Copy the directory $alephe_root/www_f_ger to $alephe_root/www_f_prm
    - Copy the directory $alephe_root/www_r_ger to $alephe_root/www_r_prm
    - Copy the directory $alephe_root/error_ger to $alephe_root/error_prm
    - Copy the directory $aleph_root/error_ger to $aleph_root/error_prm
    - Copy the directory form_ger to form_prm (XXX01)
    - In XXX01/tab, XXX13/tab, XXX30/tab, XXX40/tab, XXX50/tab, XXX60/tab and $alephe_tab, duplicate the *ger files in *prm
    - Add prm lines in path_convert files of XXX01/tab, XXX13/tab, XXX30/tab, XXX40/tab, XXX50/tab and XXX60/tab
    - Create /exlibris/aleph/u20_1/alephe/apache/htdocs/exlibris/aleph/u20_1/alephe/www_f_prm and /exlibris/aleph/u20_1/alephe/apache/htdocs/exlibris/aleph/u20_1/alephe/www_r_prm with links to icons.

    3. Aleph: Change the file $alephe_root/www_f_prm/bor-update-password
    The following line is commented out
    <!-- <include>head-replace-xxx50 -->
    and these lines inserted
    <tr>
    <td class="feedbackbar" valign="middle" height="20" align="center" colspan="20" nowrap>
    <table border="0" cellpadding="2" cellspacing="0">
    <tr>
    <td>$8100</td>
    <td class="feedbackbar">$8000</td>
    </tr>
    </table>
    </td>
    </tr>


    The following line 
    <a href="javascript:replacePage('&server_f?func=bor-info');">
    is been changed to
    <a href="javascript:replacePage('http://vs39.kobv.de:1701/primo_library/libweb/action/ search.do?vid=XXX_UB_T&reset_config=true');">

    4. Aleph: Change the file $alephe_root/www_f_prm/bor-info-single-adm (including –redirect to primo)
    The original file is /exlibris/aleph/u20_1/alephe/www_f_prm/bor-info-single-adm_19122011
    The content of the modified file :
    <!-- filename: bor-info-single-adm -->
    <html>
    <head>

    <title>Password Update</title>

    <meta http-equiv="refresh" content="3; URL=http://xxx:1701/primo_library/libweb/action/search.do?vid=XXX_UB_T&reset_config=true">

    </head>

    <body>
    "Ihr Passwort wurde erfolgreich geaendert."
    "Your Password has been changed successfully."
    You will be redirected to Primo in 3 seconds.
    </body>

    </html>


    5. Primo Server: Create “footer.html-20111219” in fe_web/static_htmls/xxx/ directory, with the following entry. 
    <script>
    //----------------------------------------------------------
    //Change password - script fuer mein Bereich
    //---------------------------------------------------------

    if ($('body.MyAccount ul.EXLEShelfTileLoggedIn').length >0 && $('li.EXLMyAccount
    SelectedTab.EXLMyAccountLastTab').length >0) {
    $('div.EXLMyAccountMainHeaderTitle').after('<div class ="" style="padding-top:
    0.7em; float: right; padding-right:2%;"><a href="http://xxxer.de/pds
    ?func=load-login&url=https://xxxer.de/F?func=file&file_name=bor-upda
    te-password&con_lng=prm">Change my password</a></div>');
    }
    </script>


    6. Change the view configuration of XXX_UB_T, so that the file footer.html-20111219 is being used.

     

    Additional Information

    Aleph 22 (and above) has a new RESTful-API that replaces the above procedure and will support this function via OvP.

     


    • Article last edited: 22-Mar-2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Overwriting of existing z07's by new ones
      • OvP - Delete hold request not working
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      This page has no tags.
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved