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

New templates

Quote Reply
New templates
Hello,

how can i create new templates with linksmysql ?
I want to have some newspage, and other infopages.
and how can i use the same searchbox on every new template
Quote Reply
Re: New templates In reply to
Put the search box into an include file, then include it <%include searchbox.inc%>

You can add templates by

1) creating them
2) adding a routine to fill them out in the nph-build
3) adding an output routine to the HTML_Templates.pm file

Add the call to the subroutine you created in order in the nph_build.cgi at the top, and you are in business.

http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/