[opencms-dev] Create Print Friendly

Gaith Bader gaithb at cse.unsw.edu.au
Tue Oct 17 06:13:20 CEST 2006


Well, I do it by flagging a variable, lets call it printFriendly  
here, and then, have IF statements that check for it if its true and  
then omit code snippets  and replace it with an other that is Print  
Friendly.

All that should be located in your template page.

____
Gaith Bader
Computer Systems Officer
School of Computer Science and Engineering
The University of New South Wales


On 17/10/2006, at 12:47 PM, Stanczak Group wrote:

> How do you make it so a user can click a link and you can switch  
> your template to a print friendly one? Is this done buy setting  
> that property for that request? How is this done?
>
> -- 
> Justin Stanczak
> Stanczak Group
> 812-735-3600
>
> "All that is necessary for the triumph of evil is that good men do  
> nothing."
> Edmund Burke
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,  
> please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20061017/86af7300/attachment.htm>


More information about the opencms-dev mailing list