Title: Using custom request forms in WebCat
1Using custom request forms in WebCat
- Ruth Salisbury, Systems Manager
- Reading University Library
- EUUG, Copenhagen, 5-7-September, 2001
2Contents
- Purchase request forms (Reading)
- ILL request forms (other Unicorn library)
- Unicorn policies
- HTML code for WebCat
- WebCat pages
3Delivered form
4RUL Purchase Request form
5RUL Purchase Request form(2)
6Other library - Book ILL
7Other library - Article ILL
8Unicorn policies
- Unicorn requires all the usual policies to set up
- Request type
- Entry Ids (including Template, Full and Brief
entry lists) - Request format - to include ALL the fields you
want to display
9Request format/s
- If you want to create several custom request
pages, you will need a separate request format,
with the appropriate entries for each page - Custom pages will be named .h and will be
specified as Sirsi_Include files in 34.pg
10Request format policy
HTML requires the entry numbers as they appear in
this list
11Request policy entry numbers
12HTML code for WebCat
- Use the View Source option in the browser to see
how WebCat uses the format entries - Use this as a basis to create your custom page/s
13Standard WebCat screen
14View Source
Note the entry numbers from the format policy
15WebCat pages
- Custom pages live
- ../Unicorn/Webcat/Pages_custom/Default
- Relevant pages
- 34.pg
- .h (this is the file specified in
SIRSI_Include)
16../Unicorn/Webcat/Pages_deliv/Default/34.pg
17../Unicorn/Webcat/Pages_custom/Default/34.pg
Custom text
18SIRSI_Conditional expression
- ltSIRSI_Conditional IF DC_COMP"KONEW TITLE
PURCHASE"gt - ltSIRSI_Include File"purchase.h"gt
- ltSIRSI_Conditional ELSEgt
- DC_COMPdatacodevalue
- KO - Request Type Description
- Request Type Description (RUL) - NEW TITLE
PURCHASE
19Request Type description
20../Unicorn/Webcat/Pages_custom/Default/purchase.h
Textarea defined
21../Unicorn/Webcat/Pages_custom/Default/purchase.h(
2)
Field display label
Size of field and default text
22- nb all default data has to be hardcoded in the
HTML. The defaults set up the the format policy
do not come through if the page is customised - field labels can be any length ie not restricted
to 10 characters
23../Unicorn/Webcat/Pages_custom/Default/purchase.h(
3)
3 entries displaying on a single line
Size of field and default text
24../Unicorn/Webcat/Pages_custom/Default/purchase.h(
4)
3 entries displaying on a single line
Size of field and default text
Tickbox
25RUL Purchase Request form
26RUL Purchase Request form(2)
27Ruth Salisbury
- r.m.salisbury_at_reading.ac.uk