[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
>
> @_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
More information about the interchange-users
mailing list