HighDots Forums  

New pages made From Template messed up!

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss New pages made From Template messed up! in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
Peace Freak
 
Posts: n/a

Default Re: New pages made From Template messed up! - 01-03-2008 , 06:48 PM






OK, I have put it up unzipped!

http://www.cambodiakids.org/Template02.dwt.asp

And thanks for the tip about file/pathnames and not using anything but
letters, numbers, and hyphens/underscores. I am going to have to change the
name of my hard disk again! I would rather be on the safe side!


Reply With Quote
  #22  
Old   
Peace Freak
 
Posts: n/a

Default Re: New pages made From Template messed up! - 01-04-2008 , 02:29 AM






I am really glad I asked your assistance for this... These things I guess are
really quite important. Unfortunately, I don't have a good grounding in web
development...

Yes, the image you mentioned is the correct one. It shows up fine in the
template but not when I make a page using the method you recommend. When I save
the page, all the other links change to the appropriate path, but that one ends
up as : background-image:
url(file:///D200/Users/andrews/Documents/DreamweaverWebsites/Cambodia
Kids/Images/BackgroundImages/Girl_softsmile_bg.jpg);
}

As for the ASP thing, I really don't know how I managed to get that to happen!
Every time I make a new page, I get that suffix at the end and have to change
it to .html. I checked in the preferences and could not see anything
appropriate to adjust. Could you suggest what I might do?

Also, I have already made a couple of pages from ASP templates, that I have
changed the suffix to .html, should I scrap those pages and redo them from the
beginning(once I get this ASP thing worked out, that is)?

As for the UTF-8, I was/am under the impression that it can be used for
Japanese... Till now I have not seen or had problems/complaints regarding the
text within the site or some of the other Japanese sites I have made... Again,
I would appreciate any recommendations...

Thank you!


Reply With Quote
  #23  
Old   
Peace Freak
 
Posts: n/a

Default Re: New pages made From Template messed up! - 01-04-2008 , 03:59 AM



I have worked out the ASP thing... That happened because when I chose the
template instead of choosing HTML template I chose ASP Javascript template.

I checked the differences between the two formats and have eliminated the
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> code from the top of the page and
change the template suffix to .html. I trust this is all that I need to do to
set this ASP thing right.


Reply With Quote
  #24  
Old   
Peace Freak
 
Posts: n/a

Default Re: New pages made From Template messed up! - 01-04-2008 , 04:07 AM



I just tested things out and it appears that fixing the ASP template has now
fixed the background image problem!

So my only outstanding question is about UTF-8 and Japanese, which I will
repeat here for your convenience...

As for the UTF-8, I was/am under the impression that it can be used for
Japanese... Till now I have not seen or had problems/complaints regarding the
text within the site or some of the other Japanese sites I have made... Again,
I would appreciate any recommendations...

Thank you so much!


Reply With Quote
  #25  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: New pages made From Template messed up! - 01-04-2008 , 05:35 AM



The template suffix MUST be *.dwt not *.html.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Peace Freak" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I have worked out the ASP thing... That happened because when I chose the
template instead of choosing HTML template I chose ASP Javascript
template.

I checked the differences between the two formats and have eliminated the
%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> code from the top of the page
and
change the template suffix to .html. I trust this is all that I need to do
to
set this ASP thing right.



Reply With Quote
  #26  
Old   
Gary White
 
Posts: n/a

Default Re: New pages made From Template messed up! - 01-04-2008 , 09:32 AM



On Fri, 4 Jan 2008 10:07:00 +0000 (UTC), "Peace Freak"
<webforumsuser (AT) macromedia (DOT) com> wrote:

Quote:
So my only outstanding question is about UTF-8 and Japanese, which I will
repeat here for your convenience...
Glad you sorted your other issues. As Murray mentions, an HTML template
should simply end it .dwt. So Template02.dwt.asp should be renamed to
Template02.dwt. As you noted, the only difference in a new page is the
scripting language declaration at the top of the file.

Actually, Japanese characters are not included in the UTF-8 character
set. There are two different Japanese character sets: SHIFT_JIS and
EUC-JP. You can read more about character sets at
http://www.w3.org/TR/html401/charset.html

Gary


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.