Skip to main content
Inspiring
May 20, 2019
Question

Dreamweaver CC PHP Includes are Minimized

  • May 20, 2019
  • 2 replies
  • 1409 views

I am using the last Dreamweaver CC. Everytime I load a web page to edit, the PHP includes show up as the tag only. It used show the content of the PHP include in the web page (see attached). If I highlight the tag and then cut and paste it back in, it shows up corectly, with the content of the include in the page.

Ideas?

This topic has been closed for replies.

2 replies

Legend
May 20, 2019

Do you want to the see the contents of your include file in design view?

In edit > preferences > invisible elements have you got this setting 'show contents of included file' checked?

Paul-M - Community Expert
Inspiring
May 21, 2019

I already have that box checked. It is not showing.

I am not running a testing server at all. This is purely local. One the last few updates caused my Dreamweaver CC to no longer show the contents of my included file, (this is the code I use to include it: <?php include("../../incl_header.html") ?>). If I remove it and then re-add it, it displays perfectly.

Ideas?

Nancy OShea
Community Expert
Community Expert
May 21, 2019

No testing server?  Hmmmmmmm.

When I try to open a PHP file without a testing server, I'm prompted by DW to specify one.   That is how DW has always worked for me since the early Macromedia days.

Nancy O'Shea— Product User & Community Expert
Nancy OShea
Community Expert
Community Expert
May 20, 2019

Your screenshot doesn't tell us much.

Which local testing server are you using?

Is your local server launched and are all PHP and Apache processes running correctly?

Are dynamically related files discovered by DW?  You should see includes among your dependant files accross the top of your screen.  See screenshots.

.

Nancy O'Shea— Product User & Community Expert
hans-g.
Legend
May 20, 2019

Excuse me Nancy,

you know I do have a similar problem and nothing has changed since my last request.

If I use one of the newer DW editions than 2015 (16.0.0)  I can't see the icons of my includes.

see my screenshot:

Would you please have a look at Kunstreiter Kaufbeuren where I use in line 139

<?php include("includes/InclMen.php"); ?> and in line 186 >>> <?php include("includes/InclAllgAng.php"); ?>

Many thanks

Hans-Günter

Nancy OShea
Community Expert
Community Expert
May 20, 2019

I can't see  PHP code online.

Try split view with Live View turned on.

Go to View > Live View options > Use Testing Server for Document Source.

Nancy O'Shea— Product User & Community Expert