Dave,
Great mod! Just what I need, actually, so I'd be happy to work with you to get it to work with templates, which is what I use. Unfortunately, I'm no programmer, so I'll do my best in pointing at the problems, and hope for Bobsie or some other 'pro' to help :-)
OK, here goes.
Sadly, it doesn't seem to work out of the box. First step, with the rate.html is OK - it does insert the hidden fields. But next step, with the rate_success.html doesn't insert anything in the hidden fields. I believe it is because you make calls in the non-template fashion:
Quote:
<INPUT TYPE="hidden" NAME="id" VALUE="$in{'key'}">
<INPUT TYPE="hidden" NAME="site_title" VALUE="$in{'site_title'}">
etc.
OK, I changed the rate_success.html to just call:
Quote:
<input type=hidden name="key" value="<%ID%>">
(why all the other calls?)
This is one step ahead, it seems. The form now has a correct hidden field, and when submitting the review, I get to the preview page, and also to the final build page. BUT, the page being built does not use the ID, and the review.cgi builds a '.html' page (whose content is OK), but lacks the ID.
Also, nothing is written to id.txt (which I chmodded to 766 and also 777).
So, can we ask Bobsie or some other pro to give a hand here?
John
[This message has been edited by gotze (edited July 02, 1999).]