Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

nph-build question

Quote Reply
nph-build question
Where does the program pick up and put in the little 'new' word when building categories that show a sub-cat has new links? I want to replace this with a graphic.

Also, I would like to change the table that holds the catergories, as on the home page. I looked but must have missed where to control this table's look, feel and placement.

Many thanks;
John
Quote Reply
Re: nph-build question In reply to
It is in the links template for putting new on the links, but not beside the sub-category titles.

John
Quote Reply
Re: nph-build question In reply to
It's in the templates --

<%if isPop%>
....
<%endif%>
Quote Reply
Re: nph-build question In reply to
This is the only part not templatized, and you can find it in HTML_Templates.pm, right at the end of the file.

Cheers,

Alex
Quote Reply
Re: nph-build question In reply to
Forgot -- when editing or changing the category layout, you need to edit the bottom of HTML_Templates.pm to change the display of the category links not just the home.html and category.html files.

The categories are written out not using a template file, so the template is hard-coded into the subroutine at the bottom of the file. You use the $variables instead of <%variables%> format, since the replacement is done by PERL not the Links template parser.