• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Other Add a few form fields to the Rate This Resource overlay in Resource Manager

#1
Currently, when you rate a resource in the resource manager, you only get 1 1-5 rating and 1 textfield.

I am looking for a way to add more fields into the review, for example:

REASON dropdown with fixed elements
If REASON is OTHER include a textfield
SIDE EFFECTS textfield
COMMENTS textfield
SEX radiobutton
AGE number
DURATION/DOSAGE textfield
DATE ADDED (already exists)

Then when the review is shown, it will be for example:

REASON: if (reason != other) the reason else other
SIDE EFFECTS: headaches
COMMENTS: works great!
SEX: M
AGE: 22
DURATION/DOSAGE: 1 year 200mg 3x/day
DATE ADDED (already exists)

I think the changes are in /public_html/library/XenResource/DataWriter/Rating.php and currently there just 1 textfield named 'message'

Please let me know if you are interested or have any questions, I can pay with paypal.

Thanks!