Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7719063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:19:12+00:00 2026-06-01T03:19:12+00:00

I have included numerous coldfusion and html files in CFM pages using the <cfinclude>

  • 0

I have included numerous coldfusion and html files in CFM pages using the <cfinclude> tag. Now there is a tack reversal. I want to include a .CFM file in an .html file. (The html file will also be hosted on a ColdFusion server.)

Below is how my html looks. Please advise.

P.S.: I want to avoid using iframes.

<table border="0" width="750" cellspacing="0" cellpadding="0">
    ...
    <TD WIDTH=612 HEIGHT=418 COLSPAN=10 ROWSPAN=2 BGCOLOR=#131005>
        <img WIDTH="612" HEIGHT="418" src="images/slideshow.png">
        <!--- here is where I want to include the file --->
        <cfinclude template="slidemodule.cfm">
    </TD>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T03:19:14+00:00Added an answer on June 1, 2026 at 3:19 am

    If you can’t give the file a .CFM file extension, then you can have the ColdFusion server parse .HTML files as if they were .CFM files. This is the only way a CFINCLUDE will run in an HTML file.

    http://www.pbell.com/index.cfm/2007/3/31/Processing-html-files-using-ColdFusion–on-a-Mac-or-a-PC

    You’ll have to edit your web.xml file and tell your web server what file extension will also be parsed by the CF server.

    Using this technique, if you leave .HTM files as static, non-parsed files, you can just name the file .HTM or .HTML to determine which can contain CFML.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are numerous text files that are always included in common downloads such as
I have a rails module included for reference below that I have included using
I am trying to manipulate a string using Jython, I have included below an
I have configured numerous .gitignore files to filter out many different unwanted files from
I'm developing a website (using asp.net-mvc) with a SqlServer 2005 database. I have numerous
I have included external js file using getScript. However, I would like to include
I have numerous XML files that are organized into different directories. I need to
I have included <zlib.h> in my iphone application and the source code I was
I have included a resource in my Visual Studio 2005 solution that was a
I have included Zend_Form_Element_Hash into a form multiplecheckbox form. I have jQuery set to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.