You can even get really fancy and "extend" your application.cfc in each
sub-folder to include slightly different headers / footers based upon where
in the site the user is.  We did that and it works awesome.

-----Original Message-----
From: Teddy Payne [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 03, 2006 2:49 PM
To: CF-Talk
Subject: Re: Headers and Footers

If you use Application.cfc, you can use the onRequest method to intercept
your page loads.

After the page has been intercepted, include your head, body and footer.

Your header and footer would not be centralized and can recieve conditional
logic if needs be.

Teddy

On 10/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
> I've seen developers wrap headers in footer in many different ways. 
> Some basic ideas just use includes, I've also seen custom tags that
> take attributes and effect the way a page is displayed.
>
> I'm looking for any ideas that would allow me to centrally manage
> header and footer content and still be able to use DreamWeaverMX2004
> to make some quick table/css adjustments.
>
> Any throughts or prebuilt solutions successfully used from Adobe Exchange?
>
> Thanks.
>
> D
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255248
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to