Gossamer Forum
Home : Products : Links 2.0 : Discussions :

change top rated

Quote Reply
change top rated
Hi,

Searched the forums but cannot find any answer.

How do I change the top rated page? Ok, I know you go into the template, but I want to change the format of the top rated link, e.g. so it goes to the detailed page of the link and then to the link (from the detailed page).

In the template, it is only as <%top_rated%>

Any suggestions? Thanks in advance



Quote Reply
Re: change top rated In reply to
Actually, no, to change the layout of the <%top_rated%> codes, you need to edit the sub build_rate_page in the nph-build.cgi script.

Look for $top_rated in that script.

Regards,

Eliot Lee
Quote Reply
Re: change top rated In reply to
Hi,

I have found the relevant area, but how do I include the id from the database in the generated top rated link

I have used <%ID%> - which I know is wrong
and used $id

I cannot seem to get it to work