How can I make a "Print" bottom in the ShowArticle template? I want to be able to printout the article, not the categories, menu and stuff like that.
Developer forum
Weblog - Printerfriendly article
Replies
You must be logged in to post in the forum
How can I make a "Print" bottom in the ShowArticle template? I want to be able to printout the article, not the categories, menu and stuff like that.
Hi Michael
The only way to do this is to drop the DW printerfriendly function.
Create a regular stylesheet for print with the attribute media set to print.
// Sebastian
Hi Sebastian
Can you explain or give example?
/Michael
Adding this to your mastertemplate will enable you to write CSS only for print.
<link rel="stylesheet" type="text/css" href="/css/print.css" media="print" /> And the you can use window.print(); for printing instead of the built-in funtionality of Dynamicweb. // Dammark
You must be logged in to post in the forum