This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > Newbie: Site/directory setup HELP! please





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 Newbie: Site/directory setup HELP! please
Reidly

2004-08-17, 11:15 pm

Hi,

I'm new Dreamweaver, but not the Web, and I'm confounded by trying to get the
directory setup correct! Please help. I just can't seem to figure out what
Dreamweaver wants to get it set up correctly!

I have a simple HTML site with external style sheets. I have the site set up
at C:\Sites\RNF Site 2004\, and I created templates that all the pages are
based on. The pages preview correctly, but both locally and on my host's
server, my image and css links are incorrect so they don't display correctly,
and of course the internal page links are wrong too.

In the page source code, the stylesheet link reads,
href="/css/RNFhome.css"
and the internal page links read
a href="/about.html"
The only images that DO display and those added to just this page, and they
read like this:
img src="Images/rnf_logo.gif.

What do I need to do in Dreamweaver to get these paths to be correct???

Thank!
Reid

Murray *TMM*

2004-08-18, 12:15 pm

Read these -

http://www.macromedia.com/support/d...te_root_rel.htm
http://www.macromedia.com/support/d...ent_vs_site.htm


--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Reidly" <webforumsuser@macromedia.com> wrote in message
news:cfu3c9$cee$1@forums.macromedia.com...
> Hi,
>
> I'm new Dreamweaver, but not the Web, and I'm confounded by trying to get
> the
> directory setup correct! Please help. I just can't seem to figure out what
> Dreamweaver wants to get it set up correctly!
>
> I have a simple HTML site with external style sheets. I have the site set
> up
> at C:\Sites\RNF Site 2004\, and I created templates that all the pages are
> based on. The pages preview correctly, but both locally and on my host's
> server, my image and css links are incorrect so they don't display
> correctly,
> and of course the internal page links are wrong too.
>
> In the page source code, the stylesheet link reads,
> href="/css/RNFhome.css"
> and the internal page links read
> a href="/about.html"
> The only images that DO display and those added to just this page, and
> they
> read like this:
> img src="Images/rnf_logo.gif.
>
> What do I need to do in Dreamweaver to get these paths to be correct???
>
> Thank!
> Reid
>



Reidly

2004-08-20, 1:43 am

Thanks for your reply. I have read those documents and I understand about paths
and such. I just don't understand what I am doing wrong in Dreamweaver so that
the paths are not coming out correctly, either when viewing the site on my C:
drive or after uploading it! I carefully set up the site exactly according to
the instructions in the user guide ... or so I thought.




Alan

2004-08-20, 1:43 am

you haven't provided a url address, but i'm guessing you are hosted in a
subfolder of a domain?

You are using Site Root relative paths- the ones that start with a leading
/ slash are Site root relative paths.

******To change linking methods********
select an existing image or link on the page.
in the Property inspector, click the folder icon, to open the "Browse to
File" dialog box. On the lower part of that dialog box is a pulldown, to
choose "Site Root Relative" or "Relative to Document"
Put it on "Relative to Document"
Finish picking the correct file, and click okay.

That setting will now stay that way until it's changed.
When you use the point to file tool, it will use that method of linking.

If you want to quickly change links to a different linking method- install
the Relativity Extension.
http://e7x.com/dw/ Relativity ext.
or here
http://www.microwaved.plus.com/dw/

That will change a page, selected pages, or an entire site from one linking
method to the other- or change them to absolute http:// paths if wanted.


> Thanks for your reply. I have read those documents and I understand about
> paths
> and such. I just don't understand what I am doing wrong in Dreamweaver so that
> the paths are not coming out correctly, either when viewing the site on my C:
> drive or after uploading it! I carefully set up the site exactly according to
> the instructions in the user guide ... or so I thought.
>
>
>
>


Reidly

2004-08-21, 4:27 am

Alan,

Thank you so much for your reply and the solution to the problem. The home
page I tested it on now displays correctly both locally and in my test
directory online. Whew!
There seems to be a problem with the page templates though. This seems like a
Dreamweaver bug, but perhaps you know the answer to this as well: I changed all
the links and images to "Relative to Document" on my lower-level page template,
then saved it, choosing to update all the pages based on the document. This
worked EXCEPT for the rollover images in the Editable Regions I have set up on
the template. The "Original Image" displays fine, but the "Rollover Image" has
the leading / in each case. I guess I can use Relativity on each page, but I
was wondering if there is another answer.

Thanks again.

Murray *TMM*

2004-08-21, 12:18 pm

Changes to content in Editable Regions of a Template file is NOT propagated
to child pages.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Reidly" <webforumsuser@macromedia.com> wrote in message
news:cg65aq$gkc$1@forums.macromedia.com...
> Alan,
>
> Thank you so much for your reply and the solution to the problem. The home
> page I tested it on now displays correctly both locally and in my test
> directory online. Whew!
> There seems to be a problem with the page templates though. This seems
> like a
> Dreamweaver bug, but perhaps you know the answer to this as well: I
> changed all
> the links and images to "Relative to Document" on my lower-level page
> template,
> then saved it, choosing to update all the pages based on the document.
> This
> worked EXCEPT for the rollover images in the Editable Regions I have set
> up on
> the template. The "Original Image" displays fine, but the "Rollover Image"
> has
> the leading / in each case. I guess I can use Relativity on each page, but
> I
> was wondering if there is another answer.
>
> Thanks again.
>



Murray *TMM*

2004-08-27, 7:15 am

Changes to content in Editable Regions of a Template file is NOT propagated
to child pages.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Reidly" <webforumsuser@macromedia.com> wrote in message
news:cg65aq$gkc$1@forums.macromedia.com...
> Alan,
>
> Thank you so much for your reply and the solution to the problem. The home
> page I tested it on now displays correctly both locally and in my test
> directory online. Whew!
> There seems to be a problem with the page templates though. This seems
> like a
> Dreamweaver bug, but perhaps you know the answer to this as well: I
> changed all
> the links and images to "Relative to Document" on my lower-level page
> template,
> then saved it, choosing to update all the pages based on the document.
> This
> worked EXCEPT for the rollover images in the Editable Regions I have set
> up on
> the template. The "Original Image" displays fine, but the "Rollover Image"
> has
> the leading / in each case. I guess I can use Relativity on each page, but
> I
> was wondering if there is another answer.
>
> Thanks again.
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews