Page 1 of 1

CMS Printing generating blank page

Posted: Mon May 06, 2013 9:56 am
by jeroendries
Dear,

Whenever I click the print image added to the page I get a blank page.

The following code has been used on the print sjabloon:
{print showbutton=true text="Print deze pagina" includetemplate="true" script="true"}

Default stylesheets are applicable and nothing has been changed.

What can I do to get the printing started?

BTW: CMS Made Simple is a lovely CMS!

Re: CMS Printing generating blank page

Posted: Mon May 06, 2013 5:43 pm
by Dr.CSS
Is that how it shows to use it in the Help..?

Re: CMS Printing generating blank page

Posted: Mon May 06, 2013 6:19 pm
by jeroendries
Dear,

Thank you for your answer.

I did read trough the help pages below and to me it seems like it should be used like this...:

What does this module do?
This allow you to insert a link in pages/templates which directs the visitor to a version of the page better suited for printing.
Please note that unless the parameter includetemplate=true is used, only the main output of the page is outputted.

How do I use this module?
Basically you install the module, access it's administration interface and review/change the templates for the link and for the printable page
In you page content or template you then insert something like: {cms_module module='CMSPrinting' params}
or simply {print params}
using the print-plugin
Parameters

(optional) lang="en_US" - Verouderd - Overschrijf de huidige taal die wordt gebruikt voor het selecteren van vertaalde regels.
(optional) text="Print this page" - Override the default text for the Print link
(optional) popup="false" - Set to 'true' and page for printing will by opened in new window.
(optional) script="false" - Set to 'true' and in print page javascript will be used for automatically show the print-dialog
(optional) includetemplate="false" - If set to 'true' this options makes the print/pdf process the whole template, not just the main content. This probably requires some work on print-specific styles with the mediatype 'print' enabled.
(optional) showbutton="false" - Set to 'true' to show a graphical button
(optional) class="false" - Class for the link, defaults to 'noprint'
(optional) class_img="false" - Class of <img> tag if showbutton is set
(optional) src_img="false" - Show this image file instead of the default
(optional) more="false" - Place additional options inside the <a> link
(optional) onlyurl="false" - Outputs just the url, not a complete link

Re: CMS Printing generating blank page

Posted: Mon May 06, 2013 10:12 pm
by Rolf

Re: CMS Printing generating blank page

Posted: Tue May 07, 2013 6:04 am
by jeroendries
Dear,

Thank you for your answer.

the allow_url_fopen is enable and after downloading the full package and reuploading this did not solve the issue I'm afraid :(

Thanks for your help!

Re: CMS Printing generating blank page

Posted: Wed May 08, 2013 6:59 am
by Rolf
And when you only use {print} in your template?

Re: CMS Printing generating blank page

Posted: Fri May 10, 2013 11:36 am
by jeroendries
Then I also get an empty page....

Re: CMS Printing generating blank page

Posted: Tue May 14, 2013 5:24 am
by jeroendries
Dear All,

Please note the issue has been solved after erasing the cache of the website. That apparently did the trick.

Thanks for all support and time spent on this issue!

Grtz

Re: CMS Printing generating blank page

Posted: Tue May 14, 2013 9:27 am
by Rolf