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

Switching to Templates

Quote Reply
Switching to Templates
Here's a stupid one for ya...

Presntly run Links 2.0 (No Templates). Works fine. Want to switch to templates. After I edit all my templates files, change links.cfg variable to turn on Templates, and then when I build the home page looks OK (formatting problems but that's another matter) yet the rest of the pages below that are empty.

Any ideas to what I forgot?
Quote Reply
Re: Switching to Templates In reply to
hi,

look in your category.html TEMPLATE if there
this entries
Code:
<!-- Subcategories-->
<%if category%>
<h2>Categories:</h2>
<%category%>
<%endif%>

<!-- Links in this category. -->
<%if links%>
<h2>Links: </h2>
<%links%>
<%endif%>

<!-- Next/Previous links if spanning pages. -->
<p align=center>
<%if prev%>
<small><a href="<%prev%>">Prev <%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%>
<h2>Related Categories:</h2>
<ul><%related%></ul>
<%endif%>

Wink

------------------
ciao
Nicky
mse.nicky.net
www.nicky.net/forum german forum for GT Links



[This message has been edited by Nicky (edited December 07, 1999).]