This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > December 2005 > Managing DW sites/paths on a local network
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Managing DW sites/paths on a local network
|
|
| Tamalita 2005-12-09, 6:26 pm |
| We are a marketing company involved with developing web sites.
We have multiple computers including Macs and PCs on a local network. We are
all using Dreamweaver MX 2004. Each computer has a copy of DW and we access
our LAN for all of the files used for our web sites. Each person who works on a
web site creates a DW-defined site on their computer. For example, a graphic
designer will develop the layout and add content, etc then a programmer may
work on the same web site to develop dynamic aspects of the site. For the most
part we have not had any difficulties.
However, in one case we are having problems with the file paths pointing to
file:/// references in child pages instead of local site references. We have
verified that the individual is defining the site within DW and we have
recreated the site cache on several occasions. This is happening with all web
sites for this individual that are created with a DW-template-based format.
For example, a site is originally created on a PC with a template and
libraries. This individual then accesses the file on our local server using a
PC, creates the site on their local DW, and then begin to add dynamic content.
When the PHP code accesss the database the paths include relative references to
file:///whatever and for the most part these seem to be image files. The
non-php code (er html code) hase the correct references to links (such as
images). So, it appears that it is the dynamic code that we are having
difficulty incorporating into DW-defined sites using templates and libraries.
The path inside the template (calling from a library item) is correct.
The path within the child page is incorrect and when uploaded to a live server
displays nothing. You can see the image box, but not the image itself.
Example:
this is the code in the library item and as it appears in the template:
img src="../images/sidebars/<? echo "$sidebar_img"; ?>" width="147"
and this is how it looks in the child page:
img src="../images/sidebars/image.jpg" width="147"
so it is calling the image name correctly, but not actually displaying the
image because the path is still referring to '../images' instead of 'images'.
We have the same problem with external links embedded within the library items.
The link in the library is:
a href="<? echo "$sidebar_link" ;?>" target="_blank"
The link looks like this in the child page:
a href="../Library/whateverthelinkis"
Again, it is calling the correct link but relative to the library item.
A live version is viewable http://digitalshowcaseofhomes.com/uw/
Thanks.
| |
| Tamalita 2005-12-14, 6:44 pm |
| Does anyone have any suggestions for this? It's a serious problem for us right
now and I'd like to figure out a resolution. If I can't then we won't be able
to use templates and well, then, I don't know what I'm gonna do.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|