Hi,
I installed Links 2 on my homepage. It worked. Then I changed somthing in the templates. It doesnīt show the links in the categorie, even there are links. What did I wrong. Here is the extract of the code :
==================
<!-- Subcategories-->
<%if category%>
<TABLE WIDTH="752" BORDER="0" CELLSPACING="2" CELLPADDING="0">
<TR>
<TD WIDTH="100%" BGCOLOR="#013e84"><FONT SIZE="-1" COLOR="#ffffff" FACE="Verdana"> Kategorien</td></tr>
<%category%>
<%endif%>
<!-- Links in this category. -->
<%if links%>
<TABLE WIDTH="752" BORDER="0" CELLSPACING="2" CELLPADDING="0">
<TR>
<TD WIDTH="100%" BGCOLOR="#013e84"><FONT SIZE="-1" COLOR="#ffffff" FACE="Verdana"> Links</td></tr></table>
<h2>Links: </h2>
<%links%>
<%endif%>
<!-- Next/Previous links if spanning pages. -->
<p align=center>
<%if prev%>
<small><a href="<%prev%>">Pre <%build_links_per_page%></a></small>
<%endif%>
<%if next%>
<small><a href="<%next%>">Next <%build_links_per_page%></a></small>
<%endif%>
</p>
<!-- Related Categories -->
<%if related%>
<TABLE WIDTH="752" BORDER="0" CELLSPACING="2" CELLPADDING="0">
<TR>
<TD WIDTH="100%" BGCOLOR="#013e84"><FONT SIZE="-1" COLOR="#ffffff" FACE="Verdana"> Verwandte Kategorien</td></tr>
<ul><%related%></ul>
<%endif%>
</font>
<!-- Search Bar -->
<form action="<%db_cgi_url%>/search.cgi" method="GET">
<TABLE WIDTH="752" BORDER="0" CELLSPACING="2" CELLPADDING="0">
<TR>
<TD WIDTH="100%" BGCOLOR="#013e84"><FONT SIZE="-1" COLOR="#ffffff" FACE="Verdana">Suchen</td></tr>
<div class="margin"></font>
<table border="0" cellspacing="0" cellpadding="0">
<tr><td><strong class="search"><FONT SIZE="-1" FACE="Verdana">
Neue Suche ?</td></tr>
<tr><td><input type="text" size=15 name="query"> <input type=submit value="Suchen!"></td></tr>
<tr><td><a href="<%db_cgi_url%>/search.cgi">Optionen</a></td></tr>
</table>
</div>
</font></form>
==========================
You can watch the pages on http://free.power-lists.de (itīs a german page but youīll find the categories ;-)
Thanx, Daniel
P.S.: I saw that the search results doesnīt show the links - may it be that the variable <%links%> is the problem ???
[This message has been edited by DanielF (edited March 06, 1999).]
I installed Links 2 on my homepage. It worked. Then I changed somthing in the templates. It doesnīt show the links in the categorie, even there are links. What did I wrong. Here is the extract of the code :
==================
<!-- Subcategories-->
<%if category%>
<TABLE WIDTH="752" BORDER="0" CELLSPACING="2" CELLPADDING="0">
<TR>
<TD WIDTH="100%" BGCOLOR="#013e84"><FONT SIZE="-1" COLOR="#ffffff" FACE="Verdana"> Kategorien</td></tr>
<%category%>
<%endif%>
<!-- Links in this category. -->
<%if links%>
<TABLE WIDTH="752" BORDER="0" CELLSPACING="2" CELLPADDING="0">
<TR>
<TD WIDTH="100%" BGCOLOR="#013e84"><FONT SIZE="-1" COLOR="#ffffff" FACE="Verdana"> Links</td></tr></table>
<h2>Links: </h2>
<%links%>
<%endif%>
<!-- Next/Previous links if spanning pages. -->
<p align=center>
<%if prev%>
<small><a href="<%prev%>">Pre <%build_links_per_page%></a></small>
<%endif%>
<%if next%>
<small><a href="<%next%>">Next <%build_links_per_page%></a></small>
<%endif%>
</p>
<!-- Related Categories -->
<%if related%>
<TABLE WIDTH="752" BORDER="0" CELLSPACING="2" CELLPADDING="0">
<TR>
<TD WIDTH="100%" BGCOLOR="#013e84"><FONT SIZE="-1" COLOR="#ffffff" FACE="Verdana"> Verwandte Kategorien</td></tr>
<ul><%related%></ul>
<%endif%>
</font>
<!-- Search Bar -->
<form action="<%db_cgi_url%>/search.cgi" method="GET">
<TABLE WIDTH="752" BORDER="0" CELLSPACING="2" CELLPADDING="0">
<TR>
<TD WIDTH="100%" BGCOLOR="#013e84"><FONT SIZE="-1" COLOR="#ffffff" FACE="Verdana">Suchen</td></tr>
<div class="margin"></font>
<table border="0" cellspacing="0" cellpadding="0">
<tr><td><strong class="search"><FONT SIZE="-1" FACE="Verdana">
Neue Suche ?</td></tr>
<tr><td><input type="text" size=15 name="query"> <input type=submit value="Suchen!"></td></tr>
<tr><td><a href="<%db_cgi_url%>/search.cgi">Optionen</a></td></tr>
</table>
</div>
</font></form>
==========================
You can watch the pages on http://free.power-lists.de (itīs a german page but youīll find the categories ;-)
Thanx, Daniel
P.S.: I saw that the search results doesnīt show the links - may it be that the variable <%links%> is the problem ???
[This message has been edited by DanielF (edited March 06, 1999).]