Hello
We are using
CMSMS version 1.5.4
mysql Ver 14.12 Distrib 5.0.45, for redhat-linux-gnu (i686) using readline 5.0
php -v
PHP 5.1.6 (cli) (built: Nov 14 2008 00:38:44)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
httpd -v
Server version: Apache/2.2.3
Server built: Nov 12 2008 10:41:27
I have been trying to configure the printer friendly pages so that it:
1. Prints with one specific header .
2. The font should only be arial 10 (with headers as bold and content as plain)
These are two simple things but I cannot manage to do this. Can someone please point me in the right direction.
Thanks.
Printer Friendly pages.
Re: Printer Friendly pages.
Hi werdina,
You can place some extra styling under the tab Override print stylesheet of the Printing module.
In the print template you can add html code, for instance:
Hope this helps, Rolf
You can place some extra styling under the tab Override print stylesheet of the Printing module.
But you have to understand the basics of CSS to do this./*
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!
*/
In the print template you can add html code, for instance:
Code: Select all
...
</__body style="background-color: white; color: black; background-image: none; text-align: left;">
<p>This is the first line on the printed paper, following by the content of the webpage.</p>
{$content}
{$printscript}
<__body>
...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Printer Friendly pages.
Thanks for the tip Rolf. I shall give it a go.