How do I include simple boilerplate text in a page?

K

Kathleen Anderson [MVP - FrontPage]

To use the FrontPage Include Component, the included page must be a complete
web page, with <html> and <body> tags. Add them to
http://www.dianemaclean.co.uk/diane_footer.htm and then try again.

You should also remove the followig code from
http://www.dianemaclean.co.uk/include_test.htm to eliminate any confusion
about what's working and what isn't working.

<div id="bannerFrame">
<!--#include file="diane_banner.htm"-->
</div>
<div id="contentFrame">
<p>This is some text</p></div>
<!--#include virtual="./footer.htm"-->
<!--#include virtual="/footer.htm" -->
<!--#include file="footer.html" -->



--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
web: http://www.spiderwebwoman.com/resources/
Please reply to the newsgroup for the benefit of others.
 
V

vey

Richard said:
I view the page, the included file is not visible but the code I have quoted
is in the source file.

You can see the footer file here:
http://www.dianemaclean.co.uk/diane_footer.htm

My first test is here :
http://www.dianemaclean.co.uk/include_test.htm

And a second test following other comments uses an shtm page:
http://www.dianemaclean.co.uk/include_test2.shtm


Not sure if there is something basic I have missed?

Are you still hard coding?
This page:

http://www.dianemaclean.co.uk/include_test.htm

is calling the wrong file. It is calling "footer.htm" when you want it
to call diane_footer.htm
 
R

Richard

Kathleen, thanks for your help.

I have been playing with the code extensively - it was a full html file, I
removed all the extras but they are now back in.

Strange thing is the designer shows me the included content, the published
content however just has the webbot instruction, no included file. I am not
sure if it is because I can only use FTP to publish the web page as the
server does not support FP/Sharepoint.

I am going to take it back to basix and just try to combine some simple
text. If I get that working I will build from there.

Cheers
 

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