CMS Printing generating blank page

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
jeroendries
New Member
New Member
Posts: 5
Joined: Mon May 06, 2013 9:53 am

CMS Printing generating blank page

Post 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!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CMS Printing generating blank page

Post by Dr.CSS »

Is that how it shows to use it in the Help..?
jeroendries
New Member
New Member
Posts: 5
Joined: Mon May 06, 2013 9:53 am

Re: CMS Printing generating blank page

Post 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
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: CMS Printing generating blank page

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
jeroendries
New Member
New Member
Posts: 5
Joined: Mon May 06, 2013 9:53 am

Re: CMS Printing generating blank page

Post 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!
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: CMS Printing generating blank page

Post by Rolf »

And when you only use {print} in your template?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
jeroendries
New Member
New Member
Posts: 5
Joined: Mon May 06, 2013 9:53 am

Re: CMS Printing generating blank page

Post by jeroendries »

Then I also get an empty page....
jeroendries
New Member
New Member
Posts: 5
Joined: Mon May 06, 2013 9:53 am

Re: CMS Printing generating blank page

Post 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
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: CMS Printing generating blank page

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “The Lounge”