Login
Register
29-07-2010

Resources for the DotNetNuke Community


Support this site

  PA v3.0  

  PA v2.1.2  

  Sample Skin  

Use this sample skin to test the TEMPLATEPRINT sko. This is a copy of the default DNNBlue skin modified to use this sko. It contains a skin and container for regular pages (SiteSkin, SiteContainer), and a skin and container for printed pages (PrintSkin, PrintContainer)
  Feedback  

TemplatePrint SkinObject  TemplatePrint SkinObject   Print  

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
© Vicenç Masanas Terms Of Use Privacy Statement   
.