in reply to Template Toolkit's ttree: multiple outputs from one file

This is one area where javascript and a simple <div> in your template can make it very easy. See my example at Re: Printer Friendly Pages. Because this is all client side you save the round trip to the server and recreating dynamic data just to make it printer friendly. I use a popup window, but you could quite happily overwrite the current windows content with printer friendly content.

cheers

tachyon

Replies are listed 'Best First'.
Re^2: Template Toolkit's ttree: multiple outputs from one file
by Ovid (Cardinal) on Oct 10, 2004 at 16:50 UTC

    Thanks, applied :)

    There are still a few quirks that I need to work out, for the time being, I just made every page "printer friendly" and figured I'd be done with it for the time being.

    Cheers,
    Ovid

    New address of my CGI Course.

      Another workaround of the history issue is just to have a css link class that retains the unvisitied color when visited.

      cheers

      tachyon