Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Server Behaviours not allowed in .php file?

New Here ,
Sep 21, 2010 Sep 21, 2010

Copy link to clipboard

Copied

Hi,

I've only recently made the jump from 'ugh, I'm a designer I don't need to know' to 'fine, this coding lark seems to be important' so this may be an exceptionally dim question. Apologies in advance if I've overlooked something obvious

I am trying to build a very basic dynamic website, losely based on the steps outlined by David Power here http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html. My own design but otherwise I'm not straying from the instructions given.

No problems developing the back end but when I came to displaying content from the database on the news page dreamweaver will not allow server behaviours to be selected (the little "+" button is greyed out in server behaviours and bindings but not for databases, if that's relevant). I haven't changed any settings or permissions and despite spending several hours poking around I don't really understand the problem enough to recognise the solution if I find it.

I am using Dreamweaver CS4 on Windows Vista

Any suggestions would be gratefully recieved.

TOPICS
Server side applications

Views

398
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 24, 2010 Sep 24, 2010

Copy link to clipboard

Copied

So you have the back end built, I assume you mean the insert, edit and delete forms for the data?

Now you are trying to display that data on a front end page? Can you explain the steps you are taking?

A very common problem for that would be not having a server type specified in your site definitions or possibly have Dreamweaver in 'Live View' mode.

Brad Lawryk

Adobe Community Professional: Dreamweaver

Northern British Columbia Adobe Usergroup: Manager

Thompson Rivers University: Dreamweaver Instructor

My Adobe Blog: http://blog.lawryk.com

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 01, 2010 Oct 01, 2010

Copy link to clipboard

Copied

LATEST

The insert, edit and delete forms for the data are built, correct

Now I am trying to display the data on the front end. I haven't taken many steps simply because I cannot. If, for example, edit_post.php is open the "+" sign on the server behaviours panel is black but as soon as I open index.php it greys out. The next step I'm trying to take is add a server behaviour to the div that will contain updates.

As all the pages are in the one site the site definition for both the functioning and non-functioning php files is the same. They were all created as php files and end .php. Live view is off.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 24, 2010 Sep 24, 2010

Copy link to clipboard

Copied

First thing to look for is whether you are using the proper file extension - php. Dreamweaver won't respond to your wishes otherwise.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines