PDA

View Full Version : New to templates



Daisie
December 31st, 2004, 21:55
Hi all,

I would appreciate it if someone could check my website and tell me what I'm doing wrong. I am doing this on a voluntary basis for a non-profit organization. I did it in Dreamweaver with a template. The preview works fine in Dreamweaver. When I upload it, it loses all my graphics. If you find the following website of mature content, please do not hesitate to let me know.
http://ca.geocities.com/dianefrisky/index.html

Thank you and Happy New Year everyone !
Daisie

aki
December 31st, 2004, 22:16
/graphics/headingfr.gif is your path to the source

did you upload the pictures?

aki
December 31st, 2004, 22:21
ok found it, it should be

<td><img src="headingfr.gif" alt="heading" width="800" height="250"></td>

NOT <td><img src="/graphics/headingfr.gif" alt="heading" width="800" height="250"></td>

/graphics means you have index.html and then a folder name graphics, and in graphics folder you have pictures. BUT the REAL path to the pictures in same as index.html. Which you don't need src="/graphics/headingfr.gif ONLY src="headingfr.gif"

Daisie
December 31st, 2004, 22:59
Thanks Aki,

I had moved the graphics into its own directory after posting here. But I'm still getting the same result. No graphics. Can a website have more than one template. I'm using 2 (eng and fr)?

Daisie

aki
December 31st, 2004, 23:01
are you sure? have u upload it? it looks same as the old html file. what is the root folder?

is this dianefrisky root or what?
here is the http://ca.geocities.com/dianefrisky/graphics/headingfr.gif

try remove the / slash in

<td><img src="/graphics/headingfr.gif" will be like:

<td><img src="graphics/headingfr.gif"

Daisie
December 31st, 2004, 23:17
Everything is in the root folder except for the templates and the graphics. The headingfr.gif you see is part of the template. I have tried to delete the / before but it removes the graphic completely.
The root of the site is http://ca.geocities.com/dianefrisky/index.html


Thanks

aki
January 1st, 2005, 07:17
and the template is in what which folder?

Daisie
January 1st, 2005, 10:23
I have 2 templates, both are in the "templates" directory.

Thanks
Daisie

aki
January 1st, 2005, 10:55
u don't have to have a template folder, its just a html right? remove them to root folder and remane files to like: about_eng.html (for english) and about.html

Decker
January 1st, 2005, 11:22
Being Geocities it might be wierd, I agree with aki, it would be better to maybe have an _en & _fr folder for each site, the DW template is referenced in the code which I doubt will work on Geocities and possibly if all else fails try the image links as http://ca.geocities.com/dianefrisky/graphics/headingfr.gif format in the code.

Not sure if all that makes sense or if it'll work, just another possibility to try :-)

aki
January 1st, 2005, 11:56
never use geo.city so i can't tell how the root fold looks like:/

Decker
January 1st, 2005, 12:07
Me neither - unfortunately that's what Daisie is using. Not a big fan of them either.

Daisie
January 1st, 2005, 12:36
aki
My templates are .dwt files from Dreamweaver, not html, but are attached to the html documents. Would that make a difference ?

Decker
When I first built the website, that's how I had it, with an English and French directory. That didn't work, so got rid of those 2 directories and put the files at the root.

I've used geocities before and never had a problem, except I don't have a template on the other site.

Thanks
Daisie

Decker
January 1st, 2005, 12:50
The .dwt files are only any use really in DW and Macromedia server environments.

Did you use an entry page - say with the head logo and a link to either language, then make sure the sites were the same on relative links or absolute links?

HugoLeite
January 1st, 2005, 13:09
In the <img src=""> you have to put <img src="graphics/[image_name.type]"> as Aki said.

If you want to use english and french folders you should have something like



/
|
|_ english
| |_about.html
| |_services.html
| |_[ etc etc ]
|
|_french
| |_about.html
| |_services.html
| |_[ etc etc ]
|
|_graphics
| |_ image.jpg
| |_ another_image.jpg
| |_ more_images.jog



And the links and images src in about.html (french or english, doesn't matter) should be for example



<a href="services.html" title="Services">Services</a>

<img src="../graphics/image.jpg" alt="Image description">


And to link to the other language for example you are on French but want to go to English, the link should be


<a href="../english/about.html" title="In English please">English Version</a>

I think this should solve your problem, and separate things better, keeping it simple.

Hope it helps

Daisie
January 1st, 2005, 14:09
A big thank you to HugoLeite who solved my 2 week long problem.... lolllll
Believe it or not, I had tried that, to take the "/" in front, but it had not worked back then. Now I can upload it to the right website. :-)

And again, thanks to everyone! :-)

Daisie

Decker
January 1st, 2005, 14:16
No problems - well done :)