Adding a printable view: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
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. | 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 == | == 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: | 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. | 1. Develop a derived attribute capable of rendering the appropriate view. | ||
2. Develop a node which uses the derived attribute. | 2. Develop a node which uses the derived attribute. | ||
3. Add a button to the node which pops up the the window. | 3. Add a button to the node which pops up the the window. | ||
4. Develop the appropriate template and style sheets if necessary. | 4. Develop the appropriate template and style sheets if necessary. | ||
== Create Derived Attribute == | == Create Derived Attribute == | ||
Blah | Blah | ||
== Create New Node == | == Create New Node == | ||
Blah | Blah | ||
== Add Button == | == Add Button == | ||
Blah | Blah | ||
== Create Templates == | == Create Templates == | ||
Blah | Blah | ||
== Try it Out == | == Try it Out == | ||
Blah | Blah | ||
Revision as of 07:44, 15 October 2007
|
ATK Howto: Adding a printable view
|
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