About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:architecture:real_time_availability_status

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
development:architecture:real_time_availability_status [2016/02/23 18:42] demiankatzdevelopment:architecture:real_time_availability_status [2016/04/25 08:39] – [Services] andre_l
Line 16: Line 16:
  
 VuFind 3.0 introduces a new ILS driver feature: the 'services' key of the [[development:plugins:ils_drivers#getstatus|getStatus()]] response. When this data is provided, VuFind's boolean availability display is extended to include more detailed information. VuFind 3.0 introduces a new ILS driver feature: the 'services' key of the [[development:plugins:ils_drivers#getstatus|getStatus()]] response. When this data is provided, VuFind's boolean availability display is extended to include more detailed information.
 +
 +Supported services right now are ''presentation'' and ''loan''. Other services can be added by modifying the ILS-driver (right now only the DAIA driver supports this feature) and its return values for the services key of [[development:plugins:ils_drivers#getstatus|getStatus()]] response.
 +As translations-tokens and styling-classes for services are generated during runtime you will also need to add a translation-token ''service_available_{service}'' to the [[development:architecture:localization#text_domains|TextDomain]] ''HoldingStatus'' and styling for class ''service_{service}'' for proper display of additional services. The enclosing span for the services my also be styled via the class ''services-{-delimited services}''.
 +
 +Please refer also to the respective template [[https://github.com/vufind-org/vufind/blob/master/themes/bootstrap3/templates/ajax/status-available-services.phtml|vufind/themes/bootstrap3/templates/ajax/status-available-services.phtml]].
 ---- struct data ---- ---- struct data ----
 ---- ----
  
development/architecture/real_time_availability_status.txt · Last modified: 2020/09/22 14:29 by demiankatz