Geeklog Staticprint

The kind folks of Geeklog incorporated this feature as standard. So my patch is no longer required.

I noticed a few people would like a print option for static pages, but one hasn't been made available. So I amended the current staticpages plugin to allow for a print option.

You can download it right here.

This zip contains a replacement for the existing staticpages/index.php file, a print.gif image and a template file that should go into your theme directory under a new sub-directory called static.

Extract this zip in the root directory of your geeklog installation, ie the directory above public_html. This will overwrite public_html/staticpages/index.php. It will place print.gif in public_html/staticpages/images. It will create a directory public_html/layout/Blackboard/static/staticprint.thtml. Create a sub-directory called static in your own layout directory and move staticprint.thtml into it.

I have tested this with url rewrite on and off and it seems to work. I won't call it a thorough test, so any comments/feedback would be welcome.

I hope this is of use to someone else.


jannetta.com
http://www.jannetta.com/staticpages/index.php/20040528094437824

(0 comments)