• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Dreamweaver help


#1
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
 
#2
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'
 

Harry

Senior Member
#3
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.
 
#4
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?
 

Harry

Senior Member
#7
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!
 
#8
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
 

Harry

Senior Member
#9
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?
 
#10
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:
 
#12
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
 

Harry

Senior Member
#13
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.
 
#14
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.
 
#15
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.
 

hitech

Junior Member
#17
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.
 
#18
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.
 
#19
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?