This content has been marked as final.
Show 6 replies
-
1. Re: partial SSI file only opening...
Newsgroup_User Dec 29, 2008 5:32 PM (in response to inHaliburton)
> If helpful, I'll provide link to site.
yes.
On a guess- is the SSI a complete html doc with it's own head and body tags?
And there are tags in code view of dw highlighted (if highlight syntax
errors is turned on)
if that's it- the fix is to pare the included file down to just what is
correct syntax for where it's used in the main file
--
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/
-
2. Re: partial SSI file only opening...
inHaliburton Dec 29, 2008 6:24 PM (in response to Newsgroup_User)Hi Alan, thank you for your quick response!
Here's the link:
www.chaletbb.ca
Here's another thing I noticed: the page content is there in "code" mode, but just only shows the navigation column in "design" view.
The site was put together in DW version 4. I've been editing, adding pages, etc. using Kompozer. Part of the reason I'm considering migrating to CS4 because there are some issues with the site...
Regards, Paul. -
3. Re: partial SSI file only opening...
Newsgroup_User Dec 29, 2008 6:52 PM (in response to Newsgroup_User)
> www.chaletbb.ca
There are syntax errors that just don't make any sense, such as this around
line 116, inside a table cell:
<html><head>
</head>
<body>
then this AGAIN around line 550 or so
<html><head>
</head>
<body>
Not sure why there is all the tbody tags either-
A closing /body and /html tag around line 260
I played with it for a bit, got all of the content to show, but not
correctly positioned. Very complex tables with syntax errors.
--
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/
-
4. Re: partial SSI file only opening...
inHaliburton Dec 30, 2008 5:35 PM (in response to Newsgroup_User)Thanks for looking at the site. I'm not seeing those items you mention. I did a search on the code mode, and still could not find. I presume you are talking about the "index" page.
Thanks, Paul
www.chaletbb.ca -
5. Re: partial SSI file only opening...
Newsgroup_User Dec 30, 2008 5:44 PM (in response to Newsgroup_User)On the page you linked, look at the source in the browser -
<table align="center" border="0" cellpadding="0" cellspacing="0"
height="1523" width="100%">
<!--DWLayoutTable--><tbody>
<tr>
<td align="right" bgcolor="#999966" height="1511" valign="top"
width="180"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
</head>
<body>
<table align="center"
Note the doctype and the additional <html><head></head><body>
That's the problem. Your include files ALSO contain the <html>, <head>, and
<body> tags. They should not.
--
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
==================
"inHaliburton" <webforumsuser@macromedia.com> wrote in message
news:gjei8b$rma$1@forums.macromedia.com...
> Thanks for looking at the site. I'm not seeing those items you mention. I
> did a
> search on the code mode, and still could not find. I presume you are
> talking
> about the "index" page.
>
> Thanks, Paul
> www.chaletbb.ca
>
-
6. Re: partial SSI file only opening...
Newsgroup_User Dec 30, 2008 5:52 PM (in response to Newsgroup_User)
> Thanks for looking at the site. I'm not seeing those items you mention. I did
> a
> search on the code mode, and still could not find. I presume you are talking
> about the "index" page.
>
> Thanks, Paul
> www.chaletbb.ca
>
View the source of the browser.
Do a find for <html> and count the times it's found. There should only be
one
- in your index page there are three.
Same for <head>,</head>,<body>,</body> and </html>
My guess is the included files are complete html documents with their own
head and body tags.
That results in the assembled file having multiple head and body tags.
That is bad html syntax in both the browser and in dreamweaver.
THAT IS WHY DREAMWEAVER DOES NOT DISPLAY THE PAGE IN DESIGN VIEW.
Fix: open any included files.
Erase from the top of file down to and including the opening body tag.
Erase the closing </body> and </html> tags at end of file.
Rinse/lather/repeat for all included files.
Notes:
1.any style info or javascript functions in the head section of an included
file will have to be put into the "real" files. Same with any links to
external .js or .css files.
2.any things in the body tag that is in the included file such as preload
triggers will have to be dealt with some other way.
If you are using external linked .css files, you can attach a "design time
stylesheet" to the included files, so that the styles are available to
display/edit in dreamweaver's design view.
--
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/

