Gossamer Forum
Home : Products : DBMan : Customization :

Anybody done this?

Quote Reply
Anybody done this?
Here is what I am trying to do: I am trying to set up a gradebook for my class so students only have access to their own grades. Here is what I would like my .db file to look like:
userid|60 70 80|optional text for student

I would like to include in the .db file an optional record that looks like this:
text|Exam1 Exam2 Exam3

I want this to show up as a "header" record for the individual user records. We know that this can be done by manipulating the .pl, but the gradebook would be used by other professors with no perl or html experience. I am trying to keep them from having to edit the .pl or .cfg.

I know that having a record that looks like this:
userid|Exam1 Exam2 Exam3|60 70 80
would enable us to post the grades the way I want but I'm looking for a way to prevent duplication of the "header" in every record.

Any ideas on how we can let users logon with their user id, and have a header record display along with the user record without having all the individual professors modify the .pl file? I'm thinking that somehow we can "call" the header record using some identifier we put in place of text (in the first field of the header row).

I want the student's output to look like this:
Exam1 Exam2 Exam3
60 70 80 (lined up of course)
(any optional text I put in the record)

Thanks,
cwhatley