I have page metadata table at the bottom of some my document pages and a review record form that should appear on the page viewed online (so people can see and add reviews) but not appear when the page is exported to PDF using DW2pdf. This used to work, I have many examples of PDFs created this way but now even if I wrap my markup in
nonprinting content
it still appears in the PDF.
I don't think this coincided with the upgrade to Mort but I've not used dw2PDF for some time so I can't be sure.
Testing
I rantail -f /var/log/apache2/error.log to search for errors but there were only PHP warnings about "Undefined array key" in adauth
I've created a new wiki on the same server, (ubuntu and apache).
I've copied the data folder across and the plugins folder
I've gone through and
- disabled plugins in groups (by first letter)
- touched the ./conf/local.php file to force ignoring the cache
- Edited the page, adding a manually entered timestamp, saved and reloaded the page
- exported to PDF using DW2pdf and the default bundled template
I repeated this process until all non default plugins were disabled and still got the same problem
Stage 2
I created a new wiki again on the same server
I added only the DW2PDF plugin with a clean install so no link to the existing wiki nor its data
I created a test page and marked some of it as no print but it still printed
Stage 3
I created a new wiki again on a laptop with a new install of apache and php
I added only the DW2PDF plugin with a clean install so no link to the existing wiki nor its data nor the same apache configs
I created a test page and marked some of it as no print but it still printed to PDF
Expected behaviour content wrapped in no print wrappers should not appear in the dw2pdf exported content
I have page metadata table at the bottom of some my document pages and a review record form that should appear on the page viewed online (so people can see and add reviews) but not appear when the page is exported to PDF using DW2pdf. This used to work, I have many examples of PDFs created this way but now even if I wrap my markup in
nonprinting content it still appears in the PDF.I don't think this coincided with the upgrade to Mort but I've not used dw2PDF for some time so I can't be sure.
Testing
I rantail -f /var/log/apache2/error.log to search for errors but there were only PHP warnings about "Undefined array key" in adauth
I've created a new wiki on the same server, (ubuntu and apache).
I've copied the data folder across and the plugins folder
I've gone through and
I repeated this process until all non default plugins were disabled and still got the same problem
Stage 2
I created a new wiki again on the same server
I added only the DW2PDF plugin with a clean install so no link to the existing wiki nor its data
I created a test page and marked some of it as no print but it still printed
Stage 3
I created a new wiki again on a laptop with a new install of apache and php
I added only the DW2PDF plugin with a clean install so no link to the existing wiki nor its data nor the same apache configs
I created a test page and marked some of it as no print but it still printed to PDF
Expected behaviour content wrapped in no print wrappers should not appear in the dw2pdf exported content