I'm using this NoPrint Macro for over a year now and it worked (which means the content inside this Makro is not getting exported to PDF) until I today upgraded my server from 6.7 to 6.9.
This is my Macro:
## @noparams
<div class="noprint">$body</div>
Any suggestions?
Hello,
we have the same problem.
Before we run the upgrade to server version 6.13.0 we could use the macro perfectly.
But now the content in the body of the NoPrint macro is no longer hidden in PDF exports.
The macro is getting used in many articles all over in our wiki and we uese it espcecially in documents to save important notes.
Please do a bug fix.
Thanks!
Hi,
I've did it with the following macro:
Macro Body Processing: Rendered
Template:
## Macro title: No Print Area
## Macro has a body: Y
##
## Developed by: xxxx
## Date created: xxxx
## @noparams
<style type="text/css" media="print">
.dontprint
{ display: none; }
</style>
<div class="dontprint"> $body</div>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Todor,
Yes, that work-around solution does work, to hide content that is embedded in the macro.
But there is an unpleasant side effect:
The area of the <DIV> </DIV> is still reserved. Therefore, an empty section appears on the page that is as large as the embedded content.
Do you think, if that could be fixed by changing the <DIV></DIV> into a <SPAN></SPAN> tag?
Greetings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.