More advanced HTML features: Guestbook
We have created a way for users and groups at Lehigh to have their own guestbook
s. If you choose to have your own guestbook, it will work nearly the same
way a s Lehigh's guestbook. There are two actions that can take place:
- A visitor can look at your guestbook in its entirety
- A visitor can sign your guestbook, adding their entry to previous
entries.
If you would like your own guestbook, perform the following steps:
- Log in to the Compute Server (rigel.cc.lehigh.edu) and enter
/ahome/www/bin/gbsetup at any system prompt.
- Change to your guestbook directory with the command
cd /ahome/userid/public/www-data/guestbook
where userid is your userid. - Edit the file named signin.html
and substitute your username for the text YOUR USERNAME in the line
that reads:
<input type="hidden" name="username" value="YOUR USERNAME"> - Create
an anchor in one of your home page files to guestbook.html in the
guestbook directory.
Note: You can change the text in either of the files in your guestbook
di rectory, add graphics, move the fields around, etc. But, you must ensure
the fo llowing:
- The name of the file guestbook.html must remain the same and
reside in the guestbook sub-directory.
- You must leave all the fields in signin.html, and not change
their names. You can change their placement, but not their names.
Note: you may only have one guestbook per account.