This configuration example shows a few of the newly developed advanced
options. We use it at our institute as a visitor registration database.
Before someone from our collaboration visits the institute, she/he has to
register on this public logbook.
Following advanced functionality is used:
- The arrival and departure dates are attributes of type "date". This way
a visitor can select the date from the date picker. In addition, the
entries can be sorted according to the arrival date. Using a quick filter
on arrival date, one can show the new arrivals for the next week, next
month and so on. By adding a bookmark to the browser in the form
http://server.domain/Visitor%20Registration/?Arrival+date=7
one can click on that bookmark to see who will come in the upcoming week.
Using the find page, one can query the database for arbitrary arrival and
departure dates, like "who was here last year between May and July?".
- The "visitor" and "email" attributes are preset with the name and email
of the current user. Of course every user has to register on that logbook
(enabled with "self register = 2")
- The attribute "Home Institute" can be chosen from a list of preset
institutes. Using the home institute as a conditional attribute, the elogd
server fills in automatically the fax number of the institute (see the
list {1},{2}, ...) after it has been selected.
- Email notifications are set up such that on each new registration, an
email is sent to stefan.ritt@psi.ch, and an email is sent to
radiation@psi.ch if the check box "Radiation badge" is checked. Please
change the smtp server host name to make email notifications work.
elog:/1 shows an example entry screen. |