270 likes | 389 Views
Using custom request forms in WebCat. Ruth Salisbury, Systems Manager Reading University Library EUUG, Copenhagen, 5-7-September, 2001. Contents. Purchase request forms (Reading) ILL request forms (other Unicorn library) Unicorn policies HTML code for WebCat WebCat pages. Delivered form.
E N D
Using custom request forms in WebCat Ruth Salisbury, Systems Manager Reading University Library EUUG, Copenhagen, 5-7-September, 2001
Contents • Purchase request forms (Reading) • ILL request forms (other Unicorn library) • Unicorn policies • HTML code for WebCat • WebCat pages
Unicorn 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
Request 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
Request format policy HTML requires the entry numbers as they appear in this list
HTML 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
View Source Note the entry numbers from the format policy
WebCat pages • Custom pages live: ../Unicorn/Webcat/Pages_custom/Default • Relevant pages: • 34.pg • ****.h (this is the file specified in SIRSI_Include)
../Unicorn/Webcat/Pages_custom/Default/34.pg {Custom text
SIRSI_Conditional expression <SIRSI_Conditional IF DC_COMP="KO^NEW TITLE PURCHASE"> <SIRSI_Include File="purchase.h"> <SIRSI_Conditional ELSE> • DC_COMP=“datacode^value” • KO - Request Type Description • Request Type Description (RUL) - NEW TITLE PURCHASE
../Unicorn/Webcat/Pages_custom/Default/purchase.h Textarea defined
../Unicorn/Webcat/Pages_custom/Default/purchase.h(2) Field display label Size of field and default text
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
../Unicorn/Webcat/Pages_custom/Default/purchase.h(3) 3 entries displaying on a single line Size of field and default text
../Unicorn/Webcat/Pages_custom/Default/purchase.h(4) 3 entries displaying on a single line Size of field and default text Tickbox
Ruth Salisbury r.m.salisbury@reading.ac.uk