Dreamweaver help

TallPaul

Member
Hello

Not sure if this is the right section and sorry for asking for help in like my 3rd post but...

I made a website and template in Dreamweaver and used the site as a file on my computer, i copied this file to a pendrive and took it to class so i could hand it in as a project, however even though the CSS and HTML and images were in this file they didnt load, i think the links must have broke.

The question is how do i link it all so that the site with css will be viewable on every PC? And can i edit the root site?

Thanks in advance :D
 
Are your files linked as a root path (ie 'file://users/name/my documents/website/html/stylesheet/style.css')? If thats the case change them to something like 'stylesheet/style.css'
 
Host it on a live domain is the best option.

However, just use document relative URLs and keep the directory structure the same wherever you take the files to…

Eg:

HTML:
<img src="[dot][dot]/images/logo.gif" alt="Company logo" />

As long as that image sits in the same relative position to the HTML wherever you take it, it'll always work.
 
atm the site is linked as C/Paul/desktop/filename

So i would change the link of all images, css to just filename.jpg for example

Also i would do the same with the flash buttons direction?
 
So for example this:

file:///C|/Users/Paulo/Desktop/DreamweaverProject/Images/facebook-icon.png

Will be

file://Images/facebook-icon.png
 
Nope.

If your site structure looks like:

Code:
/about/  /index.php/css//images/  /logo.gif/index.php

Then your link from your about page to your logo will be:

HTML:
<img src=". ./images/logo.gif" alt="Company logo" />
Without spaces between the dots!
 
Ok i have done that, now i have another problem, the links to each html are fine but when i click a buton it knocks a letter off each word, eg:

file:///C:/sers/aulo/esktop/reamweaverProject/tml/ortfolio.html

instead of

file:///C:/Users/paulo/desktop/dreamweaverProject/html/portfolio.html
 
Post your code up please.

The 'file:///C:/Users/paulo/desktop/dreamweaverProject/html/' is pretty much redundant you see.

When you took the course did they not teach you URL structures etc?
 
Nope, lets just say i have wasted my money with this course, my teacher for dreamweaver hasnt came for the last 3 weeks and they still take my money :eek:
 
Meh its ok, i was looking forward to it, bought CS4 etc and turns out they only have CS, i mean you need to move with the times lol At first i thought it was just me but seems like everyone is in the same boat as me, i will never be taking a course there again, think i have learnt more at home than in class tbf.

Thanks for the link :)

I think i have done the root site wrong as the template path starts with C:\Users etc
 
Your best bet is to forget Dreamweaver altogether. Use Notepad++ and do it by hand, you'll learn more in a few days hand coding than ten months in any course!

Site root will only work if you're running it through a server environment, so use document relative.
 
Harry said:
Your best bet is to forget Dreamweaver altogether. Use Notepad++ and do it by hand, you'll learn more in a few days hand coding than ten months in any course!

+1, hand coding is - by far - the best way to do things at the moment.
 
I have also learnt pure coding using PHPCoder for CSS, HTML and PHP, must say it is much less stressful than dreamweaver.

Anyway MASSIVE thanks for your help, i have it sorted, turns out using a site was the problem, as when i save a template i have to make a site, so i just ditched the template and now i have no problems.
 
I'd leave Dreamweaver alone entirely. Don't set sites up in it, just work in a text-editor and windows explorer.
 
I have also the same problem. I have select some templates that suite my dream design but not one has all elements in it. So I want to combine them all in one template.
 
If you go to the Adobe Dreamweaver Support Centre website and click on "Dreamweaver Online Help" you'll see that there lots of help.

You can use your Dreamweaver program to create and edit your Joomla templates. Yes, it is possible. It will just take some adaption and confidence on your part. You will be using this software in a different way that what you are used to.
 
Harry said:
Host it on a live domain is the best option.

However, just use document relative URLs and keep the directory structure the same wherever you take the files to…

Eg:

HTML:
<img src="[dot][dot]/images/logo.gif" alt="Company logo" />
As long as that image sits in the same relative position to the HTML wherever you take it, it'll always work.

Just curious harry....I was just reading through this post. What is the reason for [dot][dot] or was this just showing something?
 
Back
Top