Jump to content

Adding a printable view

From NusaATK
Revision as of 07:44, 15 October 2007 by Ihcfan (talk | contribs)

ATK Howto: Adding a printable view

Complexity: Medium
Author: ihcfan <ihcfan@braincookie.com>

List of other Howto's

Summary

In this howto you will create a popup window with altered format stripping away elements that interfere with cleanly rendering the information on a printer or other alternative output device.


Basic Process

I am sure there are many ways of achieving this, however this presents a method that I used, that worked for my application. There are four main development tasks to complete:

1. Develop a derived attribute capable of rendering the appropriate view.

2. Develop a node which uses the derived attribute.

3. Add a button to the node which pops up the the window.

4. Develop the appropriate template and style sheets if necessary.


Create Derived Attribute

Blah


Create New Node

Blah


Add Button

Blah


Create Templates

Blah


Try it Out

Blah