Gossamer Forum
Quote Reply
Re: Print Page Script In reply to
Pretty easy to do....

You can do one of the following option:

1) Add a parameter to your page.cgi links:



Like the following:



Then define the print variable in your page.cgi script....

Then use the following tags in your category.html and home.html and other template files than link.html:


<%ifnot print%>
<%include header.txt%>

2) You could also hack the build script and SiteHTML.pm module file to include another set of templates that only include text....

Then create links to these "mirrored" text only template pages.

I have the first option working in one of my Links SQL sites:





Eliot Lee
Subject Author Views Date
Thread Print Page Script Eraser 3450 Mar 24, 2001, 12:42 PM
Post Re: Print Page Script
Stealth 3350 Mar 24, 2001, 8:55 PM
Thread Re: Print Page Script
Toneye 3340 Mar 25, 2001, 5:17 AM
Post Re: Print Page Script
Stealth 3330 Mar 25, 2001, 7:51 AM
Post Re: Print Page Script
Eraser 3339 Mar 25, 2001, 8:23 AM