Skip to main content
Participating Frequently
August 31, 2016
Answered

Dreamweaver with Coldfuison code

  • August 31, 2016
  • 3 replies
  • 2134 views

I typed this code in Dreamweaver as  Coldfuison code

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>My First ColdFusion Page</title>

</head>

<body>

<h1>

My First Coldfusion Page</h1>

<p>   <cfset firstname="David"/> 

<cfoutput>My name is {firstname}

but in Design view I see

My First Coldfusion Page

My name is {firstname}

instead of

My name is David,

I dont understand why and I cant preview in Explorer of Google and would appreciate any help as I really want to learn this program

    This topic has been closed for replies.
    Correct answer David_Powers

    The Dreamweaver is part of the Master Collection CS5

    On Thu, Sep 1, 2016 at 12:13 AM, JosephLabrecque <forums_noreply@adobe.com>


    I wrote a tutorial many years ago about setting up a ColdFusion site in Dreamweaver (CS5.5): Setting up a ColdFusion development environment for Dreamweaver | Adobe Developer Connection.

    I haven't used ColdFusion since writing that tutorial, but it should give you all the information you need to get going.

    3 replies

    johnbarrett
    Inspiring
    August 31, 2016

    This will not work in Design view the way you are doing it! Dreamweaver CC dropped ColdFusion, I am pissed about it. I think Dreamweaver CS 6 still has ColdFusion support but requires java 6. You also have to have the ColdFusion server running to see any ColdFusion code executed. I would suggest getting CF Builder, as you can do the type of things you are trying, and will work as long as your local ColdFusion running.

    Participating Frequently
    August 31, 2016

    Thank you for your help.

    Mary

    Joseph Labrecque
    Community Expert
    Community Expert
    August 31, 2016

    Also - Design View in Dreamweaver will not show code processed through a CF server - only static HTML.

    Participating Frequently
    August 31, 2016

    Hi Joseph

    I started with Dreamweaver then selected Create New then selected

    Coldfusion then followed the steps to try the CF code

    Thanks

    Maty

    Joseph Labrecque
    Community Expert
    Community Expert
    August 31, 2016

    What version of Dw are you using? The product hasn't had CF code support in a  long, long time.

    You need to either have CF running locally and then serve your files through the server itself or do so remotely. Just writing CF in Dw isn't enough to actually process and serve the code.

    Joseph Labrecque
    Community Expert
    Community Expert
    August 31, 2016

    Are you running it on a CF server? Else it'll be rendered in the browser as unprocessed code.

    Participating Frequently
    August 31, 2016

    Hi

    I installed ColdFusion but don't think I have a CF server, when I ask for

    Preview in Browser, tells me I need a Testing server and then I click Yes

    and the following screen appear:

    the it ask me to click + and this screen appears and then I'm not sure what

    the FTP address is:

    On Wed, Aug 31, 2016 at 11:51 PM, JosephLabrecque <forums_noreply@adobe.com>