![Page 2: Customizing Feedback for askref in SFX - ELUNA 2006](https://reader036.vdocuments.site/reader036/viewer/2022081413/547034ffaf7959cf1a8b4625/html5/thumbnails/2.jpg)
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
![Page 3: Customizing Feedback for askref in SFX - ELUNA 2006](https://reader036.vdocuments.site/reader036/viewer/2022081413/547034ffaf7959cf1a8b4625/html5/thumbnails/3.jpg)
The Solution
• Use the Built-in Institute Feature
• Customize the Target Parser
• Customize the cgi script
• Customize the Feedback Templates
![Page 4: Customizing Feedback for askref in SFX - ELUNA 2006](https://reader036.vdocuments.site/reader036/viewer/2022081413/547034ffaf7959cf1a8b4625/html5/thumbnails/4.jpg)
The Disclaimers
• UNIX level permissions
• Familiarity with HTML
• Familiarity with CGI
• Added complexity for Monthly Updates and Version Upgrades
• Mileage May Vary
![Page 5: Customizing Feedback for askref in SFX - ELUNA 2006](https://reader036.vdocuments.site/reader036/viewer/2022081413/547034ffaf7959cf1a8b4625/html5/thumbnails/5.jpg)
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
![Page 6: Customizing Feedback for askref in SFX - ELUNA 2006](https://reader036.vdocuments.site/reader036/viewer/2022081413/547034ffaf7959cf1a8b4625/html5/thumbnails/6.jpg)
Institute Feature
Protecting the Innocent
![Page 7: Customizing Feedback for askref in SFX - ELUNA 2006](https://reader036.vdocuments.site/reader036/viewer/2022081413/547034ffaf7959cf1a8b4625/html5/thumbnails/7.jpg)
Target Parser
• Add this line to FEEDBACK.pm:$qry{inst} = $ctx_obj->get('@req.institutes');
![Page 8: Customizing Feedback for askref in SFX - ELUNA 2006](https://reader036.vdocuments.site/reader036/viewer/2022081413/547034ffaf7959cf1a8b4625/html5/thumbnails/8.jpg)
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');
![Page 9: Customizing Feedback for askref in SFX - ELUNA 2006](https://reader036.vdocuments.site/reader036/viewer/2022081413/547034ffaf7959cf1a8b4625/html5/thumbnails/9.jpg)
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>
![Page 10: Customizing Feedback for askref in SFX - ELUNA 2006](https://reader036.vdocuments.site/reader036/viewer/2022081413/547034ffaf7959cf1a8b4625/html5/thumbnails/10.jpg)
User Parameters
![Page 11: Customizing Feedback for askref in SFX - ELUNA 2006](https://reader036.vdocuments.site/reader036/viewer/2022081413/547034ffaf7959cf1a8b4625/html5/thumbnails/11.jpg)
Target Parser
![Page 12: Customizing Feedback for askref in SFX - ELUNA 2006](https://reader036.vdocuments.site/reader036/viewer/2022081413/547034ffaf7959cf1a8b4625/html5/thumbnails/12.jpg)