Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

templates for printing?

As a fresh maintainer of the website of the Cyclist Ubion of Delft (The Netherlands) on I was wondering if it's possible to create a second Template for printing purposes.

Is it possible to define a button on the page to create a simpler page more suitable for printing, i.e. in black-and-white or with less pictures? I tried to "borrow" code from other websites, but could nit find a solution with CityDesk.

I hope anyone has found out and is willing to share his information.


Menno Tillema
Saturday, June 21, 2003

Tells how to do it.

Is a CityDesk site with  a "Printer Friendly Version" created using the above technique. It works great

Saturday, June 21, 2003

I've got it on my site too.

Just create a 2nd template to publish to a different directory, then use {$.abslink$} to link to it.

<a href="{$.abslink$}">Printable Version</a>

Notice that I'm publishing the print version to the /print directory.
Saturday, June 21, 2003

Thanks a lot for all those suggestions. I will give it a try tomorrow. I't looks promising anyway!.


Menno Tillema
Saturday, June 21, 2003

If you are using CSS to style your pages, this is very easy to do.  You just create a slightly different css file for printing and when the user presses print, it automatically uses the print stylesheet.

I set my menu markup to display: none.

This leaves the header and body to display.

Joel Goldstick
Sunday, June 22, 2003

*  Recent Topics

*  Fog Creek Home