[opencms-dev] Create Print Friendly

Stanczak Group justin at stanczakgroup.com
Tue Oct 17 07:10:39 CEST 2006


So have the print friendly part in the detail file? Is there not a way 
to temporarily switch the template out?

Gaith Bader wrote:
> 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
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> 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

-- 
Justin Stanczak
Stanczak Group
812-735-3600

"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke




More information about the opencms-dev mailing list