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
  #1  
Old   
Peace Freak
 
Posts: n/a

Default New pages made From Template messed up! - 11-27-2007 , 07:49 AM






Hello,

I have made a template that is not yet finished... I decided to test it out,
but when I make new pages from it, the formatting is messed up (in any new
pages that I create from the template). This of course is happening prior to
uploading to the pages... (I need to make many different pages from the
template but cannot proceed because of this...)

If I preview the new ?messed up? page in Safari (that is by clicking the
Preview button in Dreamweaver itself), it is almost OK, but the background
image does not show up. Could anyone suggest what I might need to do to get the
?new? page to appear fine in Dreamweaver itself.

I am new to Dreamweaver and have just started with it since moving from
GoLive...

Thanks in advance.


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

Default Re: New pages made From Template messed up! - 11-27-2007 , 08:48 AM






We would have to see the page and its underlying code.

--
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:
Hello,

I have made a template that is not yet finished... I decided to test it
out,
but when I make new pages from it, the formatting is messed up (in any new
pages that I create from the template). This of course is happening prior
to
uploading to the pages... (I need to make many different pages from the
template but cannot proceed because of this...)

If I preview the new ?messed up? page in Safari (that is by clicking the
Preview button in Dreamweaver itself), it is almost OK, but the background
image does not show up. Could anyone suggest what I might need to do to
get the
?new? page to appear fine in Dreamweaver itself.

I am new to Dreamweaver and have just started with it since moving from
GoLive...

Thanks in advance.



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

Default Re: New pages made From Template messed up! - 12-08-2007 , 10:13 PM



Thanks for your reply. Was unable to get back to this till now.

I saved a sample page, and uploaded it, and as with previewing in browsers,
the formatting appears to be OK when viewed on the web. The background image is
missing and the page seems to be reloading itself every half second. Here is a
link to it:

http://www.cambodiakids.org/Badformatting.html

So only when editing it with Dreamweaver does it appear messed up, but of
course, this is not good as I need to see it as it should be.

If you like, I can post the code here.

Anyway, thank you in advance.

Damien


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

Default Re: New pages made From Template messed up! - 12-12-2007 , 07:46 AM



Thanks!

Fixed the background. So simple I didn?t think of it...

After eliminating the Refresh tag the formatting problem disappeared! Can?t be
100 percent sure if that was the cause, but anyway, it now looks OK even in DW.

Once again, thank you for your assistance.



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

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



Have not seemed to have totally resolved this problem. Every new page that I
make from any template that I make ends up with the same messed up format and I
cannot work out why...

In my template I have the following for the background image (in an
un-editable area):

background-image: url(../Images/BackgroundImages/smile_bg.jpg);

When I make a new page from that template, that code gets converted to:

background-image: url(file:///D's 200/Users/and/Documents/ Cambodia DomiNet
Main/ CCHome Main/Cambodia Kids (TABLE Current) ?/Cambodia
Kids/Images/BackgroundImages/smile_bg.jpg);

I guess there must be a setting or something causing this. Or maybe I have the
templates stored in the wrong place. If someone could enlighten me on what is
going on it would be appreciated...



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

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



Such symptoms are usually caused by an improperly made site definition.

Can you tell us what is the path to the local root folder for this site,
please?

--
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:
Have not seemed to have totally resolved this problem. Every new page that
I
make from any template that I make ends up with the same messed up format
and I
cannot work out why...

In my template I have the following for the background image (in an
un-editable area):

background-image: url(../Images/BackgroundImages/smile_bg.jpg);

When I make a new page from that template, that code gets converted to:

background-image: url(file:///D's 200/Users/and/Documents/ Cambodia
DomiNet
Main/ CCHome Main/Cambodia Kids (TABLE Current) ?/Cambodia
Kids/Images/BackgroundImages/smile_bg.jpg);

I guess there must be a setting or something causing this. Or maybe I have
the
templates stored in the wrong place. If someone could enlighten me on what
is
going on it would be appreciated...




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

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



Thanks for getting back to me Murray.

I take it the path you are talking about is in the Manage Sites/
Advanced/Local Info section...

Currently this is what I have in there:

D's 200:Users:andrewsocuments: Websites:Cambodia Kids:

I did have it saved in a less accessible position but have tidied things up
and consolidated all my sites into one folder... Anyway, even with this
configuration I get the same problem.

I hope you can assist me with this...





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

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



While operating in this site, create a new blank HTML page. Drag and drop
an image from the file list onto the page. Before saving the page, copy the
code for the <img> tag and paste it into a reply here. Now save the page
within the site, and repeat the <img> code paste.

Let's see how that looks.

--
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:
Thanks for getting back to me Murray.

I take it the path you are talking about is in the Manage Sites/
Advanced/Local Info section...

Currently this is what I have in there:

D's 200:Users:andrewsocuments: Websites:Cambodia Kids:

I did have it saved in a less accessible position but have tidied things
up
and consolidated all my sites into one folder... Anyway, even with this
configuration I get the same problem.

I hope you can assist me with this...






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

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



Thanks again. I hope I have understood your directions correctly.

Here is what I get after dropping the image onto the page:

<img src="file:///D's 200/Users/andrews/Documents/ Websites/Cambodia
Kids/Images/Page11/MBike2.jpg" width="160" height="213" alt="Mountain Bike" />

After saving the page I get this:

<img src="Images/Page11/MBike2.jpg" width="160" height="213" alt="Mountain
Bike" />

I uploaded the page and it appears as it should with the image.

This has really got me intrigued! For the life of me, I can't work out what is
going on...


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

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



This appears normal. The folder "Cambodia Kids" is the root folder of the
site. However your previous post makes it look like you are on a Mac - yet
this page shows PC-type paths. Which is it?

Try the following:

1. Open Site Manager with SITE | Manage Sites
2. EXPORT this site definition to some recoverable location on your hard
drive
3. Remove this site definition from Site Manager's list with the REMOVE
button
4. IMPORT this site definition from your location in #2

Now select the site, and remake the link to that file in the Template page.
Does that fix things?

--
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:
Thanks again. I hope I have understood your directions correctly.

Here is what I get after dropping the image onto the page:

img src="file:///D's 200/Users/andrews/Documents/ Websites/Cambodia
Kids/Images/Page11/MBike2.jpg" width="160" height="213" alt="Mountain
Bike" /

After saving the page I get this:

img src="Images/Page11/MBike2.jpg" width="160" height="213" alt="Mountain
Bike" /

I uploaded the page and it appears as it should with the image.

This has really got me intrigued! For the life of me, I can't work out
what is
going on...



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.