TemplatePrint SkinObject  
Features | Creating a print template | Attributes | Revision History
 

Features

TemplatePrint SkinObject will allow you to skin your printings. If you want to see a real demo just click the printer icon on the upper right corner of this module.

With the current solution included in DotNetNuke core when you want to allow a printer friendly version for a module you create a new container with the token [PRINTMODULE]. This token will display an icon  that enables the module content to be printed. Upon clicking this icon a new blank page will open an the module content will we displayed. This new page will use always the printmodule.ascx skin defined in the default skin for DotNetNuke (~\Portals\_default\Skins\_default\printmodule.ascx). The module content will be displayed always using the default notitle.ascx container (~\Portals\_default\Containers\_default\notitle.ascx).

With DotNetNuke 2.1.1 we have the option to personalize the icon through the token attribute PrintIcon (when you want to personalize an icon it should be included in the used skin).

As I found this too limited I created this TemplatePrint SkinObject that will allow you to:

  • Personalize the print icon
  • Personalize the tooltip text associated to the icon
  • Define a text that will show as a link near to the icon
  • Define the css style for this text
  • Define a specific skin template to be used to display the new page
  • Define a specific container to be used to display the module in the new page

I hope this features (and more) could be available in the next release. I know it is being studied...


Features | Page 1 of 4 | Creating a print template

Copyright 2004 Vicenç Masanas - http://dnnjungle.vmasanas.net/
All rights reserved. No part of the contents of this information may be reproduced in any form without express permission of the author.
.