[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Printer friendly pages ala content_editor help


On 10/29/2005 08:23 AM, Sam Batschelet wrote:
 My question is how can I hard
code this so that content editor adds the code for each new page.

so @_LEFTONLY_TOP_@
Would become

[if cgi pdf]
@_LEFTONLY_PRINTFRIENDLY_TOP_@
[else]
@_LEFTONLY_TOP_@
[/else]
[/if]

Why not just put all the code in the LEFTONLY_TOP template? Ie inside LEFTONLY_TOP you would have:

[if cgi pdf]

...your special code for pdf here...

[else]

...normal LEFTONLY_TOP code here...

[/else][/if]

...and do something similar for the other regions. Then you don't have to mess with your other pages at all. All existing and new pages will pick up the functionality.

Peter
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.