Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    My E-Shelf "create your own format" not working correctly

    • Article Type: General
    • Product: Aleph
    • Product Version: 16.02

    Description:
    Emailing a record from My e-Shelf (myshelf-course) returns a page with incorrect formatting for the case when the user creates their own format of the records (selecting "own_format" checkboxes). When first arriving at the myshelf-course page, the HTML is:

    <td class=td2 id=small >
    <input type="checkbox"
    name="own_format"
    value="1%23%23%23%23"
    -C"1%23%23%23%23">Author
    </td>

    But after submitting the form (either successfully or unsuccessfully), the HTML is:

    <td class=td2 id=small >
    <input type="checkbox"
    name="own_format"
    value="1%23%23%23%23"
    1<br><br>?245<br>?300?50<br>#?-C"1%23%23%23%23">Author
    </td>

    This HTML rendering is like this for not just the Author field but for all these: Title, Pages, Notes, Subject, System Number, Imprint

    Resolution:
    The problem is with your $alephe_root/www_f/myshelf-course file. This file is the template for the page in question. In your file, each of the custom format field choices have lines that look like this:

    $1000-C"1%23%23%23%23">Author

    These lines should have another dollar sign on them to make them work properly:

    $$1000-C"1%23%23%23%23">Author

    With one dollar sign, they get the contents of an internal variable directly. With it, the system should substitute the text, "checked" if they have been selected or nothing if they haven't.


    • Article last edited: 10/8/2013
    • Was this article helpful?