In your layout file, you could use the CFSAVECONTENT tag to put it all into
a variable, then at the very bottom of the file when you're done saving the
content, output basic HTML with the required tags and your textarea field
outputting the new variable inside.  That requires CF5, however.

There is a custom tag that someone on the list has made (I forgot who) that
will do the same thing for previous versions of CF.  FB3 requires that tag
on older versions of CF anyway, IIRC, so you may already have it.

-Justin Scott, Lead Developer
 Sceiron Internet Services, Inc.
 http://www.sceiron.com


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 11, 2002 8:48 PM
Subject: Layout question


> Hi All,
>
> I have an application which has a default layout file that works well. I
> now need a way to take the final output, that is, the HTML code produced
> by my application, which is displayed inside my layout via:
>
> <cfoutput>#fusebox.layout#</cfoutput>
>
> And then have all of it(layout HTML included) put into a textarea input.
>  Is there a way to do this without using a new layout file.
>
> It might sound like an odd request, but it is for creating code for
> someone who needs to cut and paste the HTML for an email. I actually
> need to use some regex's to replace the image references with ones
> useable in an email (http://...) but that is something I can do if
> someone can help me with the first part.
>
> I'm hoping this is an easy one, so istead of dreaming up countless
> inefficient ways of doing this, I thought I'd throw it out there for
> some expert advice :)
>
> Thanks.
>
> Rich
>
>
>

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to