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!
CMS Printing generating blank page
-
- New Member
- Posts: 5
- Joined: Mon May 06, 2013 9:53 am
Re: CMS Printing generating blank page
Is that how it shows to use it in the Help..?
-
- New Member
- Posts: 5
- Joined: Mon May 06, 2013 9:53 am
Re: CMS Printing generating blank page
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
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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
-
- New Member
- Posts: 5
- Joined: Mon May 06, 2013 9:53 am
Re: CMS Printing generating blank page
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!
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
And when you only use {print} in your template?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
-
- New Member
- Posts: 5
- Joined: Mon May 06, 2013 9:53 am
Re: CMS Printing generating blank page
Then I also get an empty page....
-
- New Member
- Posts: 5
- Joined: Mon May 06, 2013 9:53 am
Re: CMS Printing generating blank page
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
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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -