Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Rate.cgi and templates

Quote Reply
Rate.cgi and templates
If you've tried to use some template variables with the rate_error.html form, and have not had success... go to the very bottom of rate.cgi and change the very last call to &site_html_rate_failure to:

Code:
else {
$rec->{error} = "Sorry, you've already rated this resource once recently." ;
&site_html_rate_failure ( $rec, $dynamic);
}

You added one line, and changed the passed paramters in the existing one. These are the last lines of code in the program.

Nothing else needs to be changed.
Quote Reply
Re: Rate.cgi and templates In reply to
Thanks! Fixed up..

Alex