Cfinclude - MACROMEDIA COLDFUSION 5 - CFML Reference

Cfml reference
Hide thumbs Also See for COLDFUSION 5 - CFML:
Table of Contents

Advertisement

154

cfinclude

Description
Lets you embed references to ColdFusion pages in CFML. You can embed
tags recursively. For an additional method of encapsulating CFML, see
page
Category
Page processing tags
Syntax
<cfinclude template = "template_name">
See also
cfcache, cfflush, cfheader, cfhtmlhead, cfsetting,
Attributes
Attribute
template
ColdFusion searches for included files as follows:
Usage
Example
<!--- This example shows the use of cfinclude to paste
pieces of CFML or HTML code into another page dynamically --->
<html>
<head>
</head>
<body>
<H3>cfinclude Example</H3>
<H4>This example includes the main.htm page from the CFDOCS
directory. The images do not show up correctly because
they are located in a separate directory.
However, the page appears fully rendered within the
contents of this page.</H4>
<cfinclude template = "/cfdocs/main.htm">
</body>
</html>
197.
Description
A logical path to an existing page.
Checks the directory of the current page
Searches directories explicitly mapped in the ColdFusion Administrator for the
included file
<title>cfinclude Example</title>
Chapter 2 ColdFusion Tags
cfinclude
cfmodule on
cfsilent

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 5 - CFML and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion 5

Table of Contents