Open paddyfitz opened 13 years ago
Now on live server:
Changes made:
/etc/apache2/eg_vhost.conf At line 266 added lines
<Location /opac/self_registration> SetHandler perl-script PerlHandler OpenILS::WWW::SelfRegister::self_register Options +ExecCGI PerlSendHeader On allow from all
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
/etc/apache2/sites-available/a_eg.conf At line 22 added lines: PerlChildInitHandler OpenILS::WWW::SelfRegister::child_init
/etc/apache2/startup.pl At line 11 added lines: use OpenILS::WWW::SelfRegister ('/openils/conf/opensrf_core.xml');
/usr/local/share/perl/5.10.1/OpenILS/Application/Actor.pm At line 714 added lines if (!$patron->mailing_address() and !$patron->billing_address()) { $new_patron->mailing_address($address->id()); $new_patron->billing_address($address->id()); $logger->info("setting mailing and billing addr to $current_id"); $new_patron->ischanged(1); }
Added new files: /openils/var/templates/self_registration/self_reg_form.tt2 /openils/var/templates/self_registration/self_reg_confirm.tt2 /openils/var/web/js/jquery.js /usr/local/share/perl/5.10.1/OpenILS/WWW/SelfRegister.pm
As opensrf user: osrf_ctl.sh -l -a restart_all sudo /etc/init.d/apache2 restart
Hard coded values in SEDAR self registration branch (sedar_live_selfregistration):
SelfRegister.pm
self_reg_form.tt2
self_reg_confirm.tt2
Merged into sedartest branch
Add the ability to allow patrons to self register from the OPAC