[ic] Printer friendly pages ala content_editor help

Peter peter at pajamian.dhs.org
Sat Oct 29 20:32:50 EDT 2005

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 
> Would become
> [if cgi pdf]
> [else]
> [/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...


...normal LEFTONLY_TOP code here...


...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.


More information about the interchange-users mailing list