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

Missing PHP/MySQL Server Behaviours

Guest
Mar 15, 2007 Mar 15, 2007
Hello

Novice developer attempting to create a new server behaviour for PHP/MySQL model in Dreamweaver 8.0.2 (updated). When clicking on server behaviours: add new behaviour, the first dialog box appears. When checking copy existing behaviour box, dropdown menu remains empty and inert.

It doesn't contain any of the existing behaviours found in the applications:server behaviours panels? Been rooting around forums, online documentation and cannot find an answer to this.

Have tried this with *.php file open and database connection active and with a recordset to query - still nothing :-(

Existing behaviours seem to function OK when applied through the panel menu.

Using: PHP 5.2.0; MySql 5.0; Mac OS Tiger 10.4.8; Cocoasql 07b5
on Mac G5 1.8

TIA

Ian



TOPICS
Server side applications
460
Translate
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 ,
Mar 15, 2007 Mar 15, 2007
planethead wrote:
> When clicking on server behaviours: add
> new behaviour, the first dialog box appears. When checking copy existing
> behaviour box, dropdown menu remains empty and inert.
>
> It doesn't contain any of the existing behaviours found in the
> applications:server behaviours panels?

Correct. You cannot copy the built-in server behaviors. The ability to
copy an existing behavior applies only to ones that you have created
yourself.

--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Translate
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
Mar 15, 2007 Mar 15, 2007
Thanks David - I don't think they point this out in the documentation (apologies if I'm wrong). Will be investigating your book forthwith.
Translate
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 ,
Mar 15, 2007 Mar 15, 2007
planethead wrote:
> Thanks David - I don't think they point this out in the documentation (apologies if I'm wrong). Will be investigating your book forthwith.

No, I don't think they do - although I do mention this limitation in my
book. ;-)

--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Translate
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 ,
Mar 15, 2007 Mar 15, 2007
worst, the help file says it can be done. i tried this once and the Copy
option is disabled
==========================================
Redirecting unauthorized users to another page
...
To copy and paste a page's access rights to other pages on the site:

Open the protected page and select the Restrict Access To Page server
behavior listed in the Server Behaviors panel (not the one in the Plus
(+) pop-up menu).
Click the arrow button in the top right corner of the panel and select
Copy from the pop-up menu.
The Restrict Access To Page server behavior is copied to your system's
Clipboard.

Open another page you want to protect in the same way.
In the Server Behaviors panel (Window > Server Behaviors), click the
arrow button in the top right corner and select Paste from the pop-up menu.
Repeat steps 3 and 4 for each page you want to protect.
===========================================
David Powers wrote:
> planethead wrote:
>> Thanks David - I don't think they point this out in the documentation
>> (apologies if I'm wrong). Will be investigating your book forthwith.
>
> No, I don't think they do - although I do mention this limitation in my
> book. ;-)
>
Translate
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 ,
Mar 15, 2007 Mar 15, 2007
LATEST
John Doe wrote:
> worst, the help file says it can be done. i tried this once and the Copy
> option is disabled
> ==========================================
> Redirecting unauthorized users to another page
> ...
> To copy and paste a page's access rights to other pages on the site:

You're right about that, but we were discussing the Server Behavior
Builder, which allows you to base a new server behavior on an existing
one, but only if it's one you have created yourself.

What you're referring to is copying a server behavior that has been
applied to a page. You can do it with a recordset, but not with restrict
access to page (even though the help files say you can).

--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Translate
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