You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Dave Koelmeyer <da...@davekoelmeyer.co.nz> on 2012/06/24 04:28:38 UTC

How to disable "List of attachments" in JSPWiki printed documents?

Hi All,

Does anyone know how to prevent the "List of attachments" list from 
appearing in documents printed in JSPWiki? I assume it's a piece of code 
which can be commented out somewhere, but if anyone knows off the top of 
their head where to make such a modification would be great.

My reasoning is that the last pages of my documents printed from JSPWiki 
typically have a needless listing of attachments (serves no purpose on 
the printed page), also it spoils the look and feel of a printed document.

Cheers! :)


-- 
Dave Koelmeyer
http://www.davekoelmeyer.co.nz


Re: How to disable "List of attachments" in JSPWiki printed documents?

Posted by Dirk Frederickx <di...@gmail.com>.
Dave,

Following changes to the jspwiki_print.css file, in the "templates/default"
directory, will hide the attachment list:

/* add this line to hide the List of Attachments */
#attach { display:none; }


dirk


On Sun, Jun 24, 2012 at 4:28 AM, Dave Koelmeyer <
dave.koelmeyer@davekoelmeyer.co.nz> wrote:

> Hi All,
>
> Does anyone know how to prevent the "List of attachments" list from
> appearing in documents printed in JSPWiki? I assume it's a piece of code
> which can be commented out somewhere, but if anyone knows off the top of
> their head where to make such a modification would be great.
>
> My reasoning is that the last pages of my documents printed from JSPWiki
> typically have a needless listing of attachments (serves no purpose on the
> printed page), also it spoils the look and feel of a printed document.
>
> Cheers! :)
>
>
> --
> Dave Koelmeyer
> http://www.davekoelmeyer.co.nz
>
>