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 stil
This is kind of a wierd question. I am generating reports using ColdFusion and saving the content as HTML with a .xls format. My client would like to be able to have personalized headers and footers that appear on each page of the report, for instance: employee name, title of report, page numbers
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]
t: 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 c
A the moment, I have had a lot of good experiences with including
headers and footers via CFInclude. I set some sort of variable prior to
this that is reference in the header / footer to determine output. I the
following example, I set REQEST.Page which is used in the header to
determine
ensions/includes/_header_standard.cfm
A bit better.
..
Ben Nadel
Certified Advanced ColdFusion Developer
www.bennadel.com
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 03, 2006 3:57 PM
To: CF-Talk
Subject: RE: Headers and Footers
A the mo
The TinyURL extension for FF rocks, you know.. :)
http://tinyurl.com/jtpx6
AND
http://tinyurl.com/fw97g
> -Original Message-
> From: Ben Nadel [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 03, 2006 4:03 PM
> To: CF-Talk
> Subject: RE: Headers and Footers
>
&
Subject: RE: Headers and Footers
The TinyURL extension for FF rocks, you know.. :)
http://tinyurl.com/jtpx6
AND
http://tinyurl.com/fw97g
> -Original Message-
> From: Ben Nadel [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 03, 2006 4:03 PM
> To: CF-Talk
> Subject:
view, which builds the navigation, headers and
footers, and drops the blog view in the middle.
It just seems really clean to me.
--
nathan strutz
http://www.dopefly.com/
On 10/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
> I've seen developers wrap headers in footer
On 10/3/06, Teddy Payne <[EMAIL PROTECTED]> wrote:
> If you use Application.cfc, you can use the onRequest method to intercept
> your page loads.
I've used onRequestStart and onRequestEnd to add headers and footers,
works quite well aside from the fact that you then need a variab
As does Fusebox with Content Variables.
Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility
-Original Message-
From: Denny Valliant
Sent: Wednesday, October 04, 2006 6:26 PM
To: CF-Talk
Yeah, ModelGlue takes care of t
ailto:[EMAIL PROTECTED]
Sent: Thursday, 5 October 2006 8:26 AM
To: CF-Talk
Subject: Re: Headers and Footers
On 10/3/06, Teddy Payne <[EMAIL PROTECTED]> wrote:
> If you use Application.cfc, you can use the onRequest method to intercept
> your page loads.
I've used onRequestStart a
e of how one might use
> onRequestStart and end have a look at this. It has been constructed as a
> proof of concept, but it shows the power that you have and removing white
> space in this example is easy enough too.
>
> http://www.andyscott.id.au/index.cfm/2006/9/12/Proof-of-Concept
&g
Denny,
I was not that favourable to any framework because it depended on the job,
however after now doing a lot of dojo work I have opted to combine that with
MG:U and with the abilities of coldspring, reactor and ModelGlue and dojo
tied together I have got an awesome arsenal there.
BTW thanks fo
On 10/4/06, Andrew Scott <[EMAIL PROTECTED]> wrote:
> Denny,
>
> I was not that favourable to any framework because it depended on the job,
> however after now doing a lot of dojo work I have opted to combine that with
> MG:U and with the abilities of coldspring, reactor and ModelGlue and dojo
> ti
> 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've been using a layout.cfc for a while now.
showHeader()
showFooter()
showLeftMenu()
e
Answered my own question, sharing the answer with the list.
The following code is a sample I am using on one of my reports. The CSS creates repeating headers and footers on an Excel worksheet written in HTML:
<br>
@page {<br>
mso-header-data:"<CFOUTPUT>#request.re
17 matches
Mail list logo