• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 2. ColdFusion Basics > Including Other Templates

2.8. Including Other Templates

ColdFusion allows you to embed references to other ColdFusion templates, HTML documents, and plain-text files in your ColdFusion applications via the <CFINCLUDE> tag. CFINCLUDE is the ColdFusion equivalent of Server Side Includes (SSI). CFINCLUDE takes a single attribute, TEMPLATE, which specifies a logical path to the file to be included. The logical path must be either a virtual directory or a directory that has been explicitly mapped in the ColdFusion Administrator:

<CFINCLUDE TEMPLATE="MyIncludedFile.cfm">


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint