Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Printer Friendly version
System
Does anyone have an easy way to create a printer friendly version of a template page? I have created a way but was wondering if anyone has another way. the way I did it is create a hidden form element with the stuff I want printed, and called a JavaScript function that builds a page with that info by calling that hidden form element. I ran into major problems with " 's if they existed in the value of the hidden field, but got around that.
Just checking if anyone knows any other ways to do this.
I wanted to do this without creating a new page and having to worry about getting that link correct and also just creating new pages that might never be used.
Any input will be greatly appreciated. Thanks in advance.
Find more posts tagged with
Comments
dirk
Hi trum,
here is our approach to this problem:
just create another presentation template, which creates a printer friendly site.
Within the "main" presentation template you call iwptcompile to compile the printer friendly presentation template and create the HTML page.
Within the "main" presentation template you can then insert a link to the generated page.
Cheers
dirk
Migrateduser
Actually, I would suggest looking at iw_ostream rather than calling iwpt_compile from within a tpl. It is much more efficient and will allow you to write out to multiple files just like you would with calling iwpt_compile.
_FAS513PF_100901_142417_813754_538496657150.TXT
Migrateduser
Yeah, I played with <iw_ostream> but it didn't do exactly what I wanted I guess. I don't want to generate new pages, but rather somehow call a pop-up window from the existing code/values. I did it in JavaScript already but was wondering if anyone else had any other ideas, probably better.