You can use the cf_bodycontent tag from fusebox.org. It lets you stuff any
page content (that you surrounded with <cb_bodycontent> block) into a named
variable. Then I guess you could just cfoutput it in any page.


----- Original Message -----
From: "Brandon Wood" <>


Suggestions, Please:

I am having a little bit of a problem coming up with the best way to offer a
Print This page template, that will include a template and its content
without being within the surrounding site code - using something like
'#getfilefrompath(cgi.script_name)#' and serve up the main or middle content
of the page within a printable page.

I have tried a few things like passing a URL string through to a
"no_app/print_page.cfm" and try to include the template URL in the print
template, but, of course, it won't let me pass variables into the
<CFINCLUDE> tag...just the page name.  But I need to pass in a url like this
which points to specific content that I get out of a database:
http://www.provere.com/index.cfm?sa=4&stid=3&scid=6&p=&pt=Contact

Any help would be appreciated, as I am at wit's end trying to figure out the
easiest way to accomplish this...and then have a "Print this Page" link of
any and every page of the site.

Thanks a ton in advance,
Brandon Wood
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to