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

Sub categories

Quote Reply
Sub categories
I have got it working again but the problem is when I make a sub category it does not become visible. Also I have put three links in a category and these do not show up. would it be possible for one of you good gentlemen to visit my site http://www.youtrek.com/pages and take a quick look for me? my cgi-bin is not password protected if you need to look in there, that is http://www.youtrek.com/cgi-bin Thank you very much in advance, it is 4.00am now on Vancouver Island I must give up for the day and go to bed :-)

Quote Reply
Re: Sub categories In reply to
As mentioned a few times in the Links 2.0 forums, the problem is with the TAGS you are using in the category.html file.

You need to have TAGS on separate lines, like the following:

Code:

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


AND

Code:

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


NOW, if you are using a WYSIWYG editor or another editor program that puts the tags on the same line, then download the Enhanced Template.pm and install them in your Templates.pm module. This code hack will allow you to have TAGS on the same line, like the following:

Code:

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


AND

Code:

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


-----This is a recording-----

Regards,

Eliot Lee