Skip to main content
ExLibris
  • Subscribe by RSS
  • ExLibris Dev

    What placeholders are available on an OPAC page?

     

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

     


    Desired Outcome Goal:


    To find which placeholders are available on an OPAC page

     

    Procedure:


    1. Aleph uses placeholders (i.e. $0100) across OPAC files. The same placeholder can be used in different files and have different meanings. A method for discovering the meaning of the placeholders in a given file shown below


    2. Create a file called 'placeholders' in the $alephe_root/www_f_lng directory. The file should only have the following content:

     

    100)$0100<br>
    104)$0104<br>
    200)$0200<br>
    300)$0300<br>
    400)$0400<br>
    500)$0500<br>
    600)$0600<br>
    700)$0700<br>
    800)$0800<br>
    900)$0900<br>
    1000)$1000<br>
    1100)$1100<br>
    1200)$1200<br>
    1300)$1300<br>
    1400)$1400<br>
    1500)$1500<br>
    1600)$1600<br>
    1700)$1700<br>
    1800)$1800<br>
    1900)$1900<br>
    2000)$2000<br>
    2100)$2100<br>
    2200)$2200<br>
    2300)$2300<br>
    2400)$2400<br>
    2500)$2500<br>
    2600)$2600<br>
    2700)$2700<br>
    2800)$2800<br>
    2900)$2900<br>
    3000)$3000<br>
    3100)$3100<br>
    3200)$3200<br>
    3300)$3300<br>
    3400)$3400<br>
    3500)$3500<br>
    3600)$3600<br>
    3700)$3700<br>
    3800)$3800<br>
    3900)$3900<br>
    4000)$4000<br>
    4100)$4100<br>
    4200)$4200<br>
    4300)$4300<br>
    4400)$4400<br>
    4500)$4500<br>
    4600)$4600<br>
    4700)$4700<br>
    4800)$4800<br>
    4900)$4900<br>
    5000)$5000<br>
    6000)$6000<br>
    7000)$7000<br>
    8000)$8000<br>

     

    The numbers in the above list represent all the placeholders used in OPAC screen files. “$7000” is the syntax for the way a placeholder occurs in the file and will display the placeholder content if it exists in that page. “7000)” is a label for the placeholder line since the place holder itself will not appear, but only its data.

     

    3. Add the following line to the file whose placeholders you need to discover: 

     

    <include>placeholders

     

    4. Save the file and quit. There is no need to restart the WWW server.

     

    5. Connect to the OPAC or reload the page and check the placeholder lines displayed. 

     

    6. When finished, comment out the include line that were added to the file


    <!-- <include>placeholders -->

     

    Additional Information


    • Article last edited: 01-August-2016
    //doorbell.io feedback widged