[pmwiki-users] was: print - PageText missing / Re: How to suppress text in print view

adam overton a at plus1plus1plus.org
Tue Jun 10 05:58:58 CDT 2008


ahh, thanks
though the print skin is still mysterious to me, this other thread  
gave me what i needed.
thanks
adam




> Message: 1
> Date: Sun, 8 Jun 2008 14:31:50 +1200
> From: Simon <nzskiwi at gmail.com>
> Subject: Re: [pmwiki-users] How to suppress text in print view
> To: "kirpi at kirpi.it" <kirpi at kirpi.it>
> Cc: PmWiki-Users List <pmwiki-users at pmichaud.com>
> Message-ID:
> 	<201aaa880806071931o5c12e494hd6ec2899aa1dd3e0 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> In
> \public_html\pmwiki\pub\css\local.css
> add the following
>
> @media print {
> /* style sheet for print */
>   .noprint {
>     display : none;
>   }
> }
>
> Then use a wiki style, eg
>
> %noprint%
>
>>> noprint<<
>>> <<
>
> (:div class="noprint" :)
> (:divend:)
>
> to control what gets printed.
>
> Simon
>
> PS Patrick, could we add "noprint" to the core.
>
>
>
>
> 2008/6/5 kirpi at kirpi.it <kirpi at kirpi.it>:
>
>>> My page has some content that is only relevant when viewed on the
>>> screen. In print view, it's just clutter. Is there an easy way to
>>> suppress it?
>>
>> This part of the page will print as usual
>> (:if action browse:)
>> This text will not be seen\\
>> nor printed when in print view
>> (:ifend:)
>> This will also show as usual
>>
>>
>> Luigi
>>
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>>






>> Message: 1
>> Date: Mon, 2 Jun 2008 00:15:09 -0700
>> From: adam overton <a at plus1plus1plus.org>
>> Subject: [pmwiki-users] print - PageText missing
>> To: pmwiki-users <pmwiki-users at pmichaud.com>
>> Message-ID: <E9220947-A21E-4C9C-AED2-2C5FA352FEA3 at plus1plus1plus.org>
>> Content-Type: text/plain; charset="us-ascii"
>>
>>
>>
>> hi
>> i'm currently messing around with the 'print' action
>> and am finding that when action=print is called
>> my PageText disappears on any pages using included text & templates
>> -- all i see is the header and footer...
>> i am currently using the default print page
>> is there a way to avoid this and to see everything?
>> thanks,
>> adam
>>
>>
>> . . .
>>
>> a at plus1plus1plus.org
>> 661 373 8679



>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080610/9e17001d/attachment.html 


More information about the pmwiki-users mailing list