Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > How to add the print button to every page!!! View modes: 
User avatar
Member
Member
sansugoi_sayounara-hotmail - 4/26/2010 6:43:01 AM
   
How to add the print button to every page!!!
Hi all,

I want to add print link button to all the pages of my website, can any one help me in this how can I do this , I have tried but not succeed. Please if anyone knwo about this then help me..

Thanks in Advance

Sansugoi

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 4/28/2010 6:05:43 AM
   
RE:How to add the print button to every page!!!
Hi Sansugoi,

You can add print link using javascript. Please see e.g. http://www.javascriptkit.com/howto/newtech2.shtml page for more details. You can put the javascript code into your master template so it appears on all pages.

You can also set printer friendly CSS styles that will be used on printed page. Please see Printer friendly CSS styles article for more details and example.

Best Regards,

Martin Dobsicek

User avatar
Member
Member
sansugoi_sayounara-hotmail - 4/29/2010 12:03:13 AM
   
RE:How to add the print button to every page!!!
Hello martin

Thanks for replying my query.I know about this javascript but what I want is t print only the page content, this javascript will print the window which includes the left menu, top menu, top images but I only want to print the page content only how can we do that please guide me how to do that.

Thanks again.

Sansugoi

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 5/14/2010 3:15:46 AM
   
RE:How to add the print button to every page!!!
Hello Sansugoi,

You could create linked document for the page, set this linked document not to inherit any content (in 'Edit -> Properties -> Template' section) and let user print this page.

Best Regards,

Martin Dobsicek