Upload
john-little
View
1.630
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Library has more than one location for askref feedback. A very small number of tweaks can be input so that the feedback can go to the appropriate reference desk.
Citation preview
The Problem
• We are not Consortia
• SFX Admin is Centralized
• Independent Administration = Different Brands + Different Reference Desks (Email Addresses)
• The Target Configuration Document clarifies that customization is not supported
The Solution
• Use the Built-in Institute Feature
• Customize the Target Parser
• Customize the cgi script
• Customize the Feedback Templates
The Disclaimers
• UNIX level permissions
• Familiarity with HTML
• Familiarity with CGI
• Added complexity for Monthly Updates and Version Upgrades
• Mileage May Vary
5 Easy Steps
1. Edit the institute feature
2. Edit the FEEDBACK.pm target parser
3. Edit the feedback.cgi script
4. Edit the feedback web templates
5. Add user parameters specific to each Institute
Institute Feature
Protecting the Innocent
Target Parser
• Add this line to FEEDBACK.pm:$qry{inst} = $ctx_obj->get('@req.institutes');
FEEBACK cgi$msg .= "\n\n** Username **\n" . $p->param('username');$msg .= "\n\n** Useremail **\n" . $p->param('useremail');$msg .= "\n\n** Phone Number **\n" . $p->param('Phone_Number') if $p->param('Phone_Number');$msg .= "\n\n** User Affiliation **\n" . $p->param('Duke_Affiliation') if $p->param('Duke_Affiliation');$msg .= "\n\n** Location **\n" . $p->param('Location') if $p->param('Location');$msg .= "\n\n** Department **\n" . $p->param('Dept') if $p->param('Dept');
Feedback Templates
<hr><input type="RADIO" name="Duke_Affiliation" value="Faculty/Staff"
checked><b> Duke faculty or staff </b><br><input type="RADIO" name="Duke_Affiliation" value="Student"> <b> Duke student </b><br><input type="RADIO" name="Duke_Affiliation" value="Alumnus">
<b> Duke alumnus </b><br><input type="RADIO" name="Duke_Affiliation" value="None"> <b> Not affiliated with Duke </b><br>
User Parameters
Target Parser