[pmwiki-users] How to suppress text in print view

Randy randy at brownragfilms.com
Thu Jun 5 01:24:44 CDT 2008


Thanks for the idea. What you wrote tests whether the action is  
permitted, but the following tests whether the action is requested:

(:if equal {$Action} browse:)

That worked.


On Jun 4, 2008, at 11:06 PM, kirpi at kirpi.it wrote:

>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080605/d7386f97/attachment.html 

More information about the pmwiki-users mailing list