printing module only prints the 404 error page

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Aureli
Forum Members
Forum Members
Posts: 74
Joined: Wed Aug 06, 2008 10:48 pm

printing module only prints the 404 error page

Post by Aureli »

Hi,

I was trying to make a printable pdf of the pages in the site (using cmsms 1.6.4 and Printing module 1.0.2 - which I uninstalled and re-installed after upgrading the site).

What I have done on the module is enable the pdf generation and add {cms_module module='printing' text="print this page" pdf="true"} in the content of a page.

It does show the link but all it prints is the text i have set up in the 404 error page.

I have not modified anything else since I assume that it would work without changing the templates

Any ideas?

Thanks.

Aureli
jwaldeck

Re: printing module only prints the 404 error page

Post by jwaldeck »

Aureli, have you made it work?! Having a similar issued here, but the Output is not showing anything fron the Smarties!

See below, no {$title} , no {$content}, anything...

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Impressão de </title>
    <meta name="robots" content="noindex"></meta>
    <base href="http://nonononononon.com/" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <link rel="stylesheet" type="text/css" media="screen" href="http://nonononononon.com/stylesheet.php?cssid=31&mediatype=screen" />
<link rel="stylesheet" type="text/css" media="print" href="nonononononon.com/stylesheet.php?cssid=30&mediatype=print" />


        <style type="text/css">
    /*
You can put css stuff here, which will be inserted in the header after calling the cmsms-stylesheets.
Provided you don't remove the {$overridestylesheet} in PrintTemplate, of course.

Any suggestions for default content in this stylesheet?

Have fun!
*/
    </style>
        
  </head>
  </__body	style="background-color: white; color: black; background-image: none; text-align: left;">	
    
        
    
  <__body>
</__html>


JornB
Forum Members
Forum Members
Posts: 18
Joined: Wed Apr 15, 2009 10:53 am

Re: printing module only prints the 404 error page

Post by JornB »

Any solution to this problem? I have the same issue, only blank pages..

Running with 1.6.7 and printing 1.0.4
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: printing module only prints the 404 error page

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
JornB
Forum Members
Forum Members
Posts: 18
Joined: Wed Apr 15, 2009 10:53 am

Re: printing module only prints the 404 error page

Post by JornB »

Thanks!

{oldprint} tag works for now
Post Reply

Return to “Modules/Add-Ons”