Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Rate it does not work

Quote Reply
Rate it does not work
Can anybody tell me what I have done wrong? When I click on "rate it" I get a message saying "unknown tag: title" I have looked everywhere and cannot find the answer. Thanks in advance for your help.
http://www.youtrek.com

Quote Reply
Re: Rate it does not work In reply to
Field names and Tags are CASE SENSITIVE. You need to use <%Title%> NOT <%title%> in your rate_success.html template file.

Regards,

Eliot Lee
Quote Reply
Re: Rate it does not work In reply to
Sorry to trouble you again, but it still will not work, I have changed it back to what it was, which is this,

site_title => $build_site_title, this is in "site_html_templates.pl" globals

<TITLE><%site_title%> : Rate It</TITLE> this is in "rate.html"

<TITLE><%site_title%> : Rate It - Success</TITLE> this in "rate_success.html"

what happens is, when I put the mouse over the "rate it" link on one of my links I get "http://www.backpackingmall.com/cgi-bin/rate.cgi?ID=15" in the status bar,(the ID# changes) but when I click on it I get a blank page with just "Unknown Tag:title" on it. I do not have a clue what I have done wrong. I hope you can help me with this one. Thanks in advance

http://www.youtrek.com


Quote Reply
Re: Rate it does not work In reply to
You are confusing tags...<%Title%> is used for the LINK title that is being rates and <%site_title%> is the DIRECTORY title. Check your template files AGAIN!

Regards,

Eliot Lee
Quote Reply
Re: Rate it does not work In reply to
Thanks very much it was that, sorry I missed it first time, now that works great but when I click "rate it" it goes to the right page but this comes up

"Please rate the link Gossamer Threads Links between one and ten, with ten being tops"

with "Gossamer Threads Links" as the text for the link instead of the site that I wanted to rate (It did link to the correct site I wanted to rate, it just got the wrong name). Again many thanks in advance, As a complete utter knownothing about CGI I do enjoy playing with it but after about three weeks fiddling I am afraid I am wearing myself out and without your help and the other posts on these forums I am sure I would have given up by now. Once again thank you.

Quote Reply
Re: Rate it does not work In reply to
In Reply To:
Thanks very much it was that, sorry I missed it first time, now that works great but when I click "rate it" it goes to the right page but this comes up
Looks like you're still confused. 'Gossamer Threads Links' is the default value for the <%site_title%> tag. Make sure you are using the <%Title%> tag in rate.html.

Happy Coding,

--Drew
http://www.FindingHim.com