Printing module - {content} not showing up
-
- New Member
- Posts: 7
- Joined: Fri Nov 27, 2009 11:46 am
Printing module - {content} not showing up
Hi All
I am running CMSMS 1.8.2 on Linux. PHP version 5.2.9. MySQL version 5.0.58.
I am having a problem with the Printing module version 1.1.0. My print popup (custom template) only shows the {content} for the homepage. For all other pages, the {title} shows up, as does the rest of the printing template contents, but the {content} just isn't there.
What I have tried:
1. I tried reseting the default template.
2. Uninstall and reinstall the module.
3. Upload a fresh download of the entire CMS.
I then changed the default page for the site and found that the content for the new default page shows up fine in the printing popup. When I change the default page back to the home page, the homepage is the only page the print module works for.
Has anyone else seen this? Any help would be very much appreciated. Here is a link to the site:
http://nacc.eyes-down.net
And the PHP info:
http://nacc.eyes-down.net/info.php
Stuart
I am running CMSMS 1.8.2 on Linux. PHP version 5.2.9. MySQL version 5.0.58.
I am having a problem with the Printing module version 1.1.0. My print popup (custom template) only shows the {content} for the homepage. For all other pages, the {title} shows up, as does the rest of the printing template contents, but the {content} just isn't there.
What I have tried:
1. I tried reseting the default template.
2. Uninstall and reinstall the module.
3. Upload a fresh download of the entire CMS.
I then changed the default page for the site and found that the content for the new default page shows up fine in the printing popup. When I change the default page back to the home page, the homepage is the only page the print module works for.
Has anyone else seen this? Any help would be very much appreciated. Here is a link to the site:
http://nacc.eyes-down.net
And the PHP info:
http://nacc.eyes-down.net/info.php
Stuart
Re: Printing module - {content} not showing up
Hello stuartgpalmer,
Would you please post your custom print template here?
Regards, Rolf
Would you please post your custom print template here?
Regards, Rolf

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
- kerryshamblin
- Forum Members
- Posts: 87
- Joined: Wed Apr 14, 2010 5:21 pm
Re: Printing module - {content} not showing up
I have a similar problem.
I'm running CMSMS 1.8.1 and Printing 1.1.0.
I'm calling the module with this code:
The default printing stylesheet is associated with the template and is being called last of all the stylesheets.
Neither {title} nor {content} shows up. The popup action works, but the only thing I get on the page is:
[top of page]
Printing Find a Course http://clementecourse.com/index.php?mact=Printing,cntnt...
[bottom of page]
1 of 1 9/3/10 12:16 PM
Thanks for any suggestions.
I'm running CMSMS 1.8.1 and Printing 1.1.0.
I'm calling the module with this code:
Code: Select all
{print showbutton="true" popup="true" script="true"}
Neither {title} nor {content} shows up. The popup action works, but the only thing I get on the page is:
[top of page]
Printing Find a Course http://clementecourse.com/index.php?mact=Printing,cntnt...
[bottom of page]
1 of 1 9/3/10 12:16 PM
Thanks for any suggestions.
Re: Printing module - {content} not showing up
Just wondering... :-\
Please check your setting for allow_url_fopen
Should be on
grtz. Rolf
// ps. BUMMER :(
http://cmsms.dyndns.org/181base-nl/
Please check your setting for allow_url_fopen
Should be on
grtz. Rolf
// ps. BUMMER :(
// ps2.
Works for me... (on 1.8.2)kerryshamblin wrote: I'm calling the module with this code:
Code: Select all
{print showbutton="true" popup="true" script="true"}
http://cmsms.dyndns.org/181base-nl/
Last edited by Rolf on Fri Sep 03, 2010 8:15 pm, edited 1 time in total.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Printing module - {content} not showing up
If I hit the print button/icon it works for me, shows the whole of content, just not the stuff on the side...
- kerryshamblin
- Forum Members
- Posts: 87
- Joined: Wed Apr 14, 2010 5:21 pm
Re: Printing module - {content} not showing up
My .htaccess had this line:
php_value allow_url_fopen 1
I tried both:
php_value allow_url_fopen on
php_flag allow_url_fopen on
But neither did the trick. Am I wrong on syntax? Thanks for your help.
php_value allow_url_fopen 1
I tried both:
php_value allow_url_fopen on
php_flag allow_url_fopen on
But neither did the trick. Am I wrong on syntax? Thanks for your help.
-
- New Member
- Posts: 7
- Joined: Fri Nov 27, 2009 11:46 am
Re: Printing module - {content} not showing up
Hi Rolf
Thanks for your help. Here is the template:
Re. allow_url_fopen. Where do I change this setting?
Thanks again.
Stuart
Thanks for your help. Here is the template:
I have tried resetting the template to the default however, with no joy, so I suspect its not template related.
{$sitename} - {$title}
{cms_stylesheet name='newton_abbot_chiro_print_styles'}
{global_content name='header'}
{$title}
{$content block="content"}
© Copyright {custom_copyright} Newton Abbot Chiropractic Centre
{$printscript}
Re. allow_url_fopen. Where do I change this setting?
Thanks again.
Stuart
Re: Printing module - {content} not showing up
Don't know if it is relevant, but why javascript in a print pagetemplate?stuartgpalmer wrote:
Did you try it with just {$content} in the template?stuartgpalmer wrote: {$content block="content"}
Is there a difference between the html-template of the homepage and the other pages?
grtz. Rolf

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
-
- New Member
- Posts: 7
- Joined: Fri Nov 27, 2009 11:46 am
Re: Printing module - {content} not showing up
Hi Rolf
The JS in the template was so that the printed matter follows brand. Unnecessary perhaps. Anyway, I have removed it for the moment.
The homepage template is indeed different. I tried changing an internal page to the same template as the homepage and alas no joy.
Re the {$content} tag. I have tried both options. The printing template is currently looking like this:

Should a fix not be possible, are you aware of a work-around UDT I could use?
Thanks again
The JS in the template was so that the printed matter follows brand. Unnecessary perhaps. Anyway, I have removed it for the moment.
The homepage template is indeed different. I tried changing an internal page to the same template as the homepage and alas no joy.
Re the {$content} tag. I have tried both options. The printing template is currently looking like this:
Once again, if I set one of the internal pages to become the site default page, it will then print fine
{$sitename} - {$title}
{cms_stylesheet name='newton_abbot_chiro_print_styles'}
{global_content name='header'}
{$title}
{$content}
© Copyright {custom_copyright} Newton Abbot Chiropractic Centre
{$printscript}

Should a fix not be possible, are you aware of a work-around UDT I could use?
Thanks again
Re: Printing module - {content} not showing up
There is a good chance your problem comes from using $, have you tried {content}?...
-
- New Member
- Posts: 7
- Joined: Fri Nov 27, 2009 11:46 am
Re: Printing module - {content} not showing up
Hi Dr CSS
Yes, I have tried the {content} tag without the dollar. No success I'm afraid.
S
Yes, I have tried the {content} tag without the dollar. No success I'm afraid.
S
Re: Printing module - {content} not showing up
i had the same issue.
thanx for the "PHP url_fopen" advice.
thanx for the "PHP url_fopen" advice.