HighDots Forums  

PHP Includes how do i see the graphics in DWMX2004

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss PHP Includes how do i see the graphics in DWMX2004 in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
montevale
 
Posts: n/a

Default PHP Includes how do i see the graphics in DWMX2004 - 11-29-2004 , 05:14 AM






I'm using DWMX2004, and I'm using php includes to separate some of the stuff
on the site. Here is how I do it. I select a table in the design window and
copy the code from the code window. Then I create a new file for the include
and post it there. After that I remove the table and replace it with the <?php
include ('file.php'); ?> Everything at this point looks great and after upload
I can see everything in the browser as well as in the DVWM design window. Not
to the problem part. When I go to the include file all my graphics are merely
represented by empty placeholders. I attempt to click on the placeholder and
navigate to the graphic's location after which it shows up perfectly in the
include file, however after that my main page wouldn't display the graphics.
My links in the include is this: images/logo_sm.gif and I don't see the
graphics. I change the link to this: ../images/_logo_sm.gif then the graphics
show up in the include but I loose them on the main page. Would anyone please
look into this. Am I alone in this dillema? Thanks a bunch to anyone who red
this far. Thank you even more if you are going to reply....:confused;


Reply With Quote
  #2  
Old   
Alexandru COSTIN
 
Posts: n/a

Default Re: PHP Includes how do i see the graphics in DWMX2004 - 11-29-2004 , 08:06 AM






Hi,
We are aware of the issues with the includes in Dreamweaver MX, and
we've even created a product to correct some of these issues.

http://www.interaktonline.com/Products/Dreamweaver-Extensions/MXIncludes/Overview/

Hope this might help you,

Alexandru

montevale wrote:
Quote:
I'm using DWMX2004, and I'm using php includes to separate some of the stuff
on the site. Here is how I do it. I select a table in the design window and
copy the code from the code window. Then I create a new file for the include
and post it there. After that I remove the table and replace it with the <?php
include ('file.php'); ?> Everything at this point looks great and after upload
I can see everything in the browser as well as in the DVWM design window. Not
to the problem part. When I go to the include file all my graphics are merely
represented by empty placeholders. I attempt to click on the placeholder and
navigate to the graphic's location after which it shows up perfectly in the
include file, however after that my main page wouldn't display the graphics.
My links in the include is this: images/logo_sm.gif and I don't see the
graphics. I change the link to this: ../images/_logo_sm.gif then the graphics
show up in the include but I loose them on the main page. Would anyone please
look into this. Am I alone in this dillema? Thanks a bunch to anyone who red
this far. Thank you even more if you are going to reply....:confused;


Reply With Quote
  #3  
Old   
Alexandro Colorado
 
Posts: n/a

Default Re: PHP Includes how do i see the graphics in DWMX2004 - 11-29-2004 , 08:24 AM



On Mon, 29 Nov 2004 10:14:19 +0000 (UTC), montevale
<webforumsuser (AT) macromedia (DOT) com> wrote:

Quote:
I'm using DWMX2004, and I'm using php includes to separate some of the
stuff
on the site. Here is how I do it. I select a table in the design window
and
copy the code from the code window.
We have worked on an extension to makes it easy for you to manage your
includes. This might not just solve your problem now but also ease your
development efforts. The extension is MX Includes and you can find all the
information here:
http://www.interaktonline.com/Products/Dreamweaver-Extensions/MXIncludes/Overview/

--
Alexandro Colorado
------------------------------
Support Engineer
InterAKT Online
http://www.interaktonline.com
Tel: 40(21) 312.5312


Reply With Quote
  #4  
Old   
montevale
 
Posts: n/a

Default Re: PHP Includes how do i see the graphics in DWMX2004 - 11-30-2004 , 03:41 AM



So what you are saying is that I have to buy something extra to solve what
appears to be a flaw?... Thank you for your suggestion. Not that I'm against
it, it is just not what I expected. I was actually hoping that there would
be a solution already built in DWMX2004 that would address the issue. Well, is
there? Hey Macromedia people what you do you have to say there. Does that
means that Dreamweave MX2004 is not working properly (???????????


Reply With Quote
  #5  
Old   
Gary White
 
Posts: n/a

Default Re: PHP Includes how do i see the graphics in DWMX2004 - 11-30-2004 , 10:36 AM



montevale wrote:

Quote:
So what you are saying is that I have to buy something extra to solve what
appears to be a flaw?... Thank you for your suggestion. Not that I'm against
it, it is just not what I expected. I was actually hoping that there would
be a solution already built in DWMX2004 that would address the issue. Well, is
there? Hey Macromedia people what you do you have to say there. Does that
means that Dreamweave MX2004 is not working properly (???????????

This is a user to user peer support group. If you want to contact
Macromedia, you should do so directly.

That said, if you're using include files, you should probably be using
site root relative links in the included file.


Gary


Reply With Quote
  #6  
Old   
montevale
 
Posts: n/a

Default Re: PHP Includes how do i see the graphics in DWMX2004 - 11-30-2004 , 11:36 PM



Thank you for pointing out that this is a peer to peer forum. But I hope some
of Macromedia people read some of the topics once in a while. Especially if
they are plainning to improve the program (fix bugs). I have tried all sorts
of different ways to address this problem with fixing the broken down view of
the include file. It appears that the only way to actually see everything on
the page is to buy something else that would fix it. Is this the only way?
That is my question to anyone who red this. Is that the only way. Is DWMX2004
incapable of rendering the page so I can see all elements in design view? I'm
not moking Dreamweaver (I love the product) simply am trying to find an answer
.. :heart;


Reply With Quote
  #7  
Old   
Gary White
 
Posts: n/a

Default Re: PHP Includes how do i see the graphics in DWMX2004 - 12-01-2004 , 12:35 AM



montevale wrote:

Quote:
Thank you for pointing out that this is a peer to peer forum. But I hope some
of Macromedia people read some of the topics once in a while. Especially if
they are plainning to improve the program (fix bugs).
Any MM participation here is rare. There are a couple of ways to contact
them directly. You can file a bug report, or a feature request at:

http://macromedia.com/go/wish

Or you can open a support ticket at:

http://www.macromedia.com/support/programs/complimentary.html


Quote:
I have tried all sorts
of different ways to address this problem with fixing the broken down view of
the include file. It appears that the only way to actually see everything on
the page is to buy something else that would fix it. Is this the only way?
That is my question to anyone who red this. Is that the only way. Is DWMX2004
incapable of rendering the page so I can see all elements in design view? I'm
not moking Dreamweaver (I love the product) simply am trying to find an answer
. :heart;
I use quite a lot of PHP include files, and I really don't have that
problem, so let's see if we can figure out where the difference is,
okay?

First, I have Apache and PHP installed on the local machine.
Second, I set up a virtual host for each site.
Third, I use site root relative links in my include files.
Fourth, to actually see those things in design view, I click the "Live
Data" button.

Once I have done those things, I see my pages correctly in design view
and they work when uploaded.


Gary


Reply With Quote
  #8  
Old   
montevale
 
Posts: n/a

Default Re: PHP Includes how do i see the graphics in DWMX2004 - 12-02-2004 , 12:00 PM



Thank you for all your comments and suggestions. There must have been something
wrong with my OS, so... I reinstalled the OS and the DWMX 2004. Now when I
change the links to be site relative It actually works and I can see the
graphics again.


Reply With Quote
  #9  
Old   
Gary White
 
Posts: n/a

Default Re: PHP Includes how do i see the graphics in DWMX2004 - 12-02-2004 , 02:15 PM



montevale wrote:

Quote:
Thank you for all your comments and suggestions. There must have been something
wrong with my OS, so... I reinstalled the OS and the DWMX 2004. Now when I
change the links to be site relative It actually works and I can see the
graphics again.

You're welcome. Sorry you had to take such extreme measures, but I'm
glad you got it sorted out and working.


Gary


Reply With Quote
  #10  
Old   
FizzBang
 
Posts: n/a

Default Re: PHP Includes how do i see the graphics in DWMX2004 - 01-25-2005 , 11:05 AM



I just had this same problem running Dreamweaver on OSX.

I rebuilt my disk permissions using the Disk Utility and my includes showed
back up.

When you re-installed your OS your permissions were probably all fixed through
the install.

Hope this helps any OSX users with this problem.

Kevin


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.