Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Problem with displaying links.

Quote Reply
Problem with displaying links.
I have problems with displaying links in the categories. I don't know why, you can see html template at http://www.x-treme-net.com/cgi-bin/admin/templates/category.shtml

Quote Reply
Re: Problem with displaying links. In reply to
Couple suggestions:

1) Do not publicly link volatile scripts that people can use to hack your site. You will notice that I submitted a link to teach you a lesson.

2) The URL you gave for your template file is incorrect. It should be:

http://www.x-treme-net.com/...plates/category.html

NOT

http://www.x-treme-net.com/cgi-bin/admin/templates/category.shtml

And when I tried to access this template file, I got an Internal Server Error meaning that you have a problem with your templates directory permission or your template files.

3) Most likely your problem deals with inproper format of tags in your category.html file, which should look like the following:

Code:

<%if category%>
<%category%>
<%endif%>


AND

Code:

<%if links%>
<%links%>
<%endif%>


See...the tags should be on separate lines. To put tags on the SAME line, you need the Enhanced Template.pm codes linked in the Resource Center in the Links: Modification section.

Regards,

Eliot Lee



Quote Reply
Re: Problem with displaying links. In reply to
Can you please did category.html for me?
It's on the http://www.x-treme-net.com/category.html



Quote Reply
Re: Problem with displaying links. In reply to
You need to have all the <% %> on their own lines

<%category%>
<%endif%>

<%if links%>
<h2>Links: </h2>
<%links%>
<%endif%>