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

Next and previous Tags

Quote Reply
Next and previous Tags
Hi,

I have a problem with the 'if next and if prev statements'.

I have searched the forum and cannot find a fix so I hope someone can help me out.

This is what the code in the HTML template lools like

<%if prev%>Previous (then hyperlinked to <%prev%>
<endif%>
<%if next%>Next (then hyperlinked to <%next%>
<endif%>

However I cannot get it to come up with a Next or Prev in the pages when I have built them.

I can get a 'Prev' if I only place Prev which is hyperlinked to <%prev%>, but never a next.

I can see that it has built several pages per catagory so I am a little lost.

Thanks in advance

Danny

<%endif%>

Quote Reply
Re: Next and previous Tags In reply to
Tags need to be on separate lines (as mentioned in this forum more than once)...

Code:

<%if prev%>
<%prev%>
<%endif%>
<%if next%>
<%next%>
<%endif%>


OR install the Enhanced Template.pm code hack found in the Resources section of this site.

Regards,

Eliot Lee