The website can create forms that take applications for workshops, internships etc.
To enable the facility, the configuration file
~www/php/servername/config.php
for the website
must have:
// True if the site has forms for applying for superb etc. $siteConfig['hasApply'] = 1;
In addition, the auth_N
table must have a hasApply
field that
is a tinyInt. That field has been added to
auth_4
(for TRUST) and
auth_5
(for E3S).
In theory, checking "Application Form" should create
the apply
table, but as of 10/11, it does
not. The workaround is to export the structure only
of a preexisting apply
table, such
as the wise_4
database -> apply
table.
wise_4
and then
apply
apply.sql
file is exported.
apply.sql
table.
~www/php/include/apply.inc.php
will
need to be updated:
The file ~www/php/include/apply.inc.php
controls what fields are present. An admin must
edit that file by hand.
If the user selects "Application Form" on the
group configuration page, then the database for the
applications is created. Thus, to reset the application
pool, use http://website/mysql
to drop the apply table for the group.
note that this will lose the previous application data
Email notification goes to the people on the notify list for the group. If there is no notify group, then it goes to the developers. If there is no developer list, then it goes to webmaster.
To create a new application, try copying the structure, not the data with:
mysqldump -d reu_4 apply > apply.sql mysql postdocs_7 < apply.sql