Hmmm, not quite as nice as I originally thought, I'll still have to go
through the template and alter it quite a lot to out put a variable at the
end instead of just outputting content as it goes.

Stephen, your solution seems ideal but I am having to use the bodycontent
one as we are not on cf 5 here yet.
It doesn't seem to be working though. I have this:

<cf_bodycontent variable="PropFeatures">
 <cfinclude template="dsp_propFeatures.cfm">
</cf_bodycontent>
<td>#PropFeatures#</td>

but I get the error

Error resolving parameter PROPFEATURES

What am I doing wrong?

Thanks for all ofthe help guys.

----- Original Message -----
From: "Giles Roadnight" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 05, 2002 4:48 PM
Subject: Re: [ cf-dev ] Quickie - cfinclude


> Very nice, thank you Duncan.
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, September 05, 2002 4:46 PM
> Subject: Re: [ cf-dev ] Quickie - cfinclude
>
>
> >
> > change the template to return just the comma seperated list, then you
can
> > do anything you like with it.  i.e. loop through the list
> >
> > <cfloop index="item" list="#whatever#">
> > <li>#item#
> > </cfloop>
> >
> >
> > Duncan Cumming
> > IT Manager
> >
> > http://www.alienationdesign.co.uk
> > mailto:[EMAIL PROTECTED]
> > Tel: 0141 575 9700
> > Fax: 0141 575 9600
> >
> > Creative solutions in a technical world
> >
> > ----------------------------------------------------------------------
> > Get your domain names online from:
> > http://www.alienationdomains.co.uk
> > Reseller options available!
> > ----------------------------------------------------------------------
> > ----------------------------------------------------------------------
> >
> >
> >
> >                     "Giles
> >                     Roadnight"           To:
> <[EMAIL PROTECTED]>
> >                     <giles@roadni        cc:
> >                     ght.name>            Subject:     [ cf-dev ]
Quickie -
> cfinclude
> >
> >                     09/05/02
> >                     04:42 PM
> >                     Please
>
> >                     respond to
> >                     dev
> >
> >
> >
> >
> >
> > Hi
> >
> > If I use a cfinclude or cfmodule is there a way of catching the output
as
> a
> > string before it is put onto the page?
> >
> > Basically I have a template that outputs some text onto the page, on one
> > page it is a bulleted list but on another page I want it as a comma
> > separated list. If I can catch the generated content as a string I can
> > replace <li> with commas. This will be easier than altering the template
> so
> > it can produce two different outputs.
> >
> > Thanks
> >
> > Giles
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > For human help, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > For human help, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


Reply via email to