Copy link to clipboard
Copied
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
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.
Copy link to clipboard
Copied
Are you running it on a CF server? Else it'll be rendered in the browser as unprocessed code.
Copy link to clipboard
Copied
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>
Copy link to clipboard
Copied
Also - Design View in Dreamweaver will not show code processed through a CF server - only static HTML.
Copy link to clipboard
Copied
Hi Joseph
I started with Dreamweaver then selected Create New then selected
Coldfusion then followed the steps to try the CF code
Thanks
Maty
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
The Dreamweaver is part of the Master Collection CS5
On Thu, Sep 1, 2016 at 12:13 AM, JosephLabrecque <forums_noreply@adobe.com>
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Thank you so much for your reply.
Mary
Copy link to clipboard
Copied
Hi David
Thank you so much for the link to your tutorial, i have worked through it
and have learnt so much, just taking it one step at a time. Everything
went exactly as in the tutorial until I got to Step 11 and clicked on the
+ to expand the tables for connTownsend when I was asked for a password as
below. Would you happen to know the login Id and password, then I will be
able to use the Live View and see the details from the database. The other
tables did not ask for a password.
thanks again
Mary
On Thu, Sep 1, 2016 at 1:22 AM, David_Powers <forums_noreply@adobe.com>
Copy link to clipboard
Copied
Attachments don't come through to the forum when you reply by email, so I can't see the password prompt that you got. However, I presume that it might be asking for the password you set on the CF server.
I wrote that tutorial more than 6 years ago, and I haven't used ColdFusion since, so I'm not in a good position to be able to troubleshoot issues like this. Hopefully, one of the CF users can come to your assistance.
Copy link to clipboard
Copied
Thank you David, I've worked out the password problem, and its all working now. Sorry to be a pain, its the first time I've used CF and it will take time, but your notes are great.
thanks again
Mary
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Thank you for your help.
Mary