Included content not included

C

Chris

I have produced some new pages with the menu in an included file. The files
preview OK in FP2003, but when previewed locally in an external browser, the
included content is missing. When published, the content is still missing.

FP adds the following text: <!--webbot bot="Include"
U-Include="_includes/menu.htm" TAG="BODY" -->

When the file is viewed external to FP, I see: <!--webbot bot="Include"
U-Include="_includes/menu.htm" TAG="BODY" startspan --><!--webbot
bot="Include" i-checksum="0" endspan -->

but I would have expected to see: <!--webbot bot="Include"
U-Include="_includes/menu.htm" TAG="BODY" startspan -->CONTENTS OF INCLUDED
FILE<!--webbot bot="Include" i-checksum="xxxxx" endspan -->

Any ideas where I might be going wrong? I've used includes successfully in
several other places.

Page is at www.s119192582.websitehome.co.uk/blank.htm

TIA,
Chris
 
R

Ronx

The page you are including is not a complete page.
It MUST have
<html>
<head>
<title></title>
</head>
<body>
Page content
</body>
</html>

as a minimum.

As the webbot implies, the content BETWEEN the <body> and </body> tags
is loaded into the page. If there is no <body> tag - there is no content
following it...
 
C

Chris

Thanks to all,

I was being too hasty throwing these pages together and should have looked
beyond the main page.

Thanks again,
Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top