Gossamer Forum
Home : Products : Links 2.0 : Discussions :

index page for categories

Quote Reply
index page for categories
another quick question...

where can I find the template for the index page of each categories... which I guess is the same one as the one used for more.html, more2html... and so on...

the thing is that in cgi-bin/links/admin/templates I have found each template but not the index.html one used for categories

thanks a lot !

nicolas
Quote Reply
Re: [nhorky] index page for categories In reply to
The base is category.html, for overall page appearance, and link.html for the look of the link itself. These are template files. In category.html, all you'll see about links is this:

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


This pulls in results from nph-build.cgi, from sub build_category_pages. The look of the link is called by that sub using this:

$links .= &site_html_link

which is link.html.


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] index page for categories In reply to
hi ! :-)

that's what I though for the category page...

the thing is that I just chnaged the whole page.. deleted the html version and put a php verison instead and put a menu on the left.. and still the page doesn't look at all like my new php page and is exactly the same as my old html page.. though I deleted this page from the server ! strange !

thanks a lot for your help !

nicolas