Dreamweaver - lien
Bonjour, dans dreamweaver je ne trouve pas l outil pour inclure (determiner automatiquement par un explorateur) un lien vers mon fichier php dans un include(").
merci pour votre aide
Bonjour, dans dreamweaver je ne trouve pas l outil pour inclure (determiner automatiquement par un explorateur) un lien vers mon fichier php dans un include(").
merci pour votre aide
Sure it is, it just hasn't worked right in years.
On a .php page, a PHP option will appear at the bottom of the Insert menu and within the PHP options context menu, an Include option is available....

When clicked, it adds a standard php include and places the cursor where the file path needs to go but you don't get the option to add a path via browsing, yet...

If you hit the Refresh icon in the Properties window to update DW that the code has changed, it gives you a Filename field with a folder icon to browse to the PHP file (in this screen capture, the cursor isn't shown, but it was between the quotes in the include code)...

This is where it breaks however. When you click to browse to an include file by hitting the browse icon, DW will place the file path as text one line above the include code you inserted and not actually within the (" ") of the include...

Long story short, it's there, but it has been completely broken for years. Both installations of CC2015 and CC2017 do the same thing for me on Windows 7. I've always just entered the file path by hand.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.