Support » Plugin: Library Bookshelves » Evergreen specific library results

  • Resolved stephengwills

    (@stephengwills)


    Evergreen has a URL parm that tells the OPAC to display custom skin for a local library. The parm locg=org unit does the trick.

    I hacked functions as follows:
    ` case ‘evergreen’:
    $cat_url = $cat[‘domain’] . “/eg/opac/results?query=” . $itemID . “&qtype=identifier&locg=121”;
    break;
    case ‘evergreen-record’:
    $cat_url = $cat[‘domain’] . “/eg/opac/record/” . $itemID . “?locg=121”;
    break;

    where 121 is the Thompson Memorial Library in Dover-Foxcroft Me. having an admin config form field to allow a library to designate it’s org unit would be cool. I’ll offer more code when I get the chance unless you get to it first!

    Thanks,
    Steve

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.