Translations of this page?:

printpreview

Preview of the wiki body; Usage for printing or fullscreen-mode

author : deshi

Download and Installation

Actually it isn´t a plugin as a hack of your template and your DW-core. As if there is somehow the need to have different views of the DW-content. It may be usefull and maybe someone changes it to a real plugin.

You have to add the following line to your template: (e.g. Simple/ Line 105; 02/2010)

<a href="<?php echo exportlink($ID, 'html')?>"><img src="<?php echo DOKU_BASE?>lib/images/icons/print.png" alt="PRINT Preview" /></a>

To show an icon you have to copy the fileicon “print.png” to the folder “lib/images/icons/” of your DW-installation. In this case I have created the folder “icons”. Feel free to put it elsewhere. (e.g. http://farm3.static.flickr.com/2284/2334515153_e106af3d1f_o.jpg)

Syntax and Usage

Discussion

Great ! exactly what i was looking for to include in the dokubook template's toolbox.

Thank's a lot ;-)

tips/printpreview.txt · Last modified: 2011/11/28 20:42 by HåkanS
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate