Loading...
 
Skip to main content

Features / Usability


Print Author and version

posts: 9 Italy
Martin H. wrote:

I would start with something like this in your custom module.

Copy to clipboard
{DIV(class="d-none d-print-block")} ||__Page Name:__ |__Version: __ __ Last Author:__ |__ Last Mod. Date:__ __ Approved by:__ | __Approval Date:__ || {DIV}


I meant... it doesn't work to me. Ok the module is hidden on the page, but it doesn't show on printing.
Not sure if these errors coulb be useful to debug:
NOTICE (E_NOTICE): Undefined variable: approval
At line 1964 in lib/parser/parserlib.php
NOTICE (E_NOTICE): Trying to access array offset on value of type null
At line 1964 in lib/parser/parserlib.php
The d-none class will hide the content on screen.
The d-print-block will unhide the content on printing.